Benjamin Otte
07164e098a
window: Turn gtk_window_set_screen() into gtk_window_set_display()
...
And have a priv->display instead of a priv->screen.
Includes turning gtk_menu_set_screen() into gtk_menu_set_display(),
because that function just forwards to its window.
2017-10-31 08:25:37 +01:00
Timm Bäder
c92b7d4224
box: Remove fill child property
...
GtkWidget:halign and GtkWidget:valign are sufficient
2017-04-25 20:30:37 +02:00
Timm Bäder
5729ea7744
box: Remove expand child property
...
GtkWidget already has hexpand/vexpand properties.
2017-04-25 20:30:37 +02:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Matthias Clasen
50a75b37a9
More gtk-demo spacing fixes
2016-10-26 20:37:23 -04:00
Benjamin Otte
4df6ddad54
API: container: Remove gtk_container_set_border_width()
2016-10-16 18:18:58 +02:00
Timm Bäder
f45dadadd0
box: Remove 'padding' child property
2016-10-16 18:17:21 +02:00
Matthias Clasen
609e04ddcf
gtk-demo: Cosmetic changes
...
Clean up the code of many examples in minor ways, fix some memory
leaks, and avoid the use of dialogs where a regular toplevel works
just as well.
2015-06-28 17:41:35 -04:00
Matthias Clasen
0a601b093c
gtk-demo: Many cosmetic fixes
...
Mostly update window titles, and some addition to descriptions.
2015-06-19 21:59:15 -04:00
William Jon McCann
708dd8cc52
Remove usage of stock APIs in demo
...
With the exception of GtkAction.
2013-06-24 14:50:01 -04:00
Matthias Clasen
1204a850f3
Formatting cleanups
...
While we normally try to avoid whitespace fixes, the gtk-demo
code is shown as exemplary, so it should be in good shape,
formatting-wise.
2011-09-01 23:56:58 -04:00
Michael Natterer
260ccdfebe
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-11-02 12:04:35 +09:00
Javier Jardón
c15ef6405c
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 17:37:03 +09:00
Javier Jardón
7f2cc85db9
Use accessor functions to access GtkDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Matthias Clasen
ade90af533
End the search if the window is closed.
...
* demos/gtk-demo/search_entry.c: End the search if the window
is closed.
* demos/gtk-demo/search_entry.c:
* demos/gtk-demo/entry_completion.c: Group the entry examples
under "Entry".
svn path=/trunk/; revision=22132
2009-01-18 15:50:29 +00:00
Matthias Clasen
f01ebf5c79
Don't include config.h in the examples.
...
2004-11-16 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/*.c: Don't include config.h in the examples.
2004-11-16 15:49:17 +00:00
Federico Mena Quintero
80581c3011
Fixes #136082 and #135265 , patch by Morten Welinder.
...
2004-03-05 Federico Mena Quintero <federico@ximian.com>
Fixes #136082 and #135265 , patch by Morten Welinder.
* configure.in: Use AC_SYS_LARGEFILE.
* */*.c: #include <config.h>
2004-03-06 03:38:59 +00:00
Matthias Clasen
5c919e50d3
Add entry_completion.c
...
Wed Jan 7 23:20:06 2004 Matthias Clasen <maclas@gmx.de>
* demos/gtk-demo/Makefile.am (demos): Add entry_completion.c
* demos/gtk-demo/entry_completion.c: New demo for GtkEntryCompletion
by Anders Carlsson (#130464 ).
2004-01-07 22:19:51 +00:00