Matthias Clasen
a0454e4025
gtk-demo: Make the delayed search demo work
...
Make this demo work with the new search entry.
2019-02-19 00:25:59 -05:00
Timm Bäder
e9e40ddb42
box: Remove gtk_box_pack_start
2019-01-23 19:30:46 -05:00
Carlos Garnacho
4d59a00074
demos: Update search_entry2 demo to use key capturing API
...
No more GdkEvent juggling.
2018-07-30 13:14:12 +02:00
Matthias Clasen
46da8a031b
gtk-demo: Avoid key-press-event
2018-05-19 23:28:44 -04:00
Matthias Clasen
918d552472
gtk-demo: Stop using ::key-press-event in font explorer
...
Use a key controller instead. Note that this currently
breaks the handling of Enter, since we activate key bindings
twice, causing us to switch to the label and back.
2018-04-05 19:26:53 +02: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
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
Matthias Clasen
a0ecb44b41
gtk-demo: Show search entry signals
2015-01-24 08:44:30 -05:00
Matthias Clasen
d1a91671e4
gtk3-demo: Adapt to GtkSearchEntry api changes
...
Connect to ::search-changed instead of ::changed.
2013-07-28 21:51:45 -04:00
Bastien Nocera
dbbea8b97e
Add GtkSearchBar widget
...
This widget is a toolbar that will popup automatically when
searches should be started, and dismissed when they are finished.
https://bugzilla.gnome.org/show_bug.cgi?id=700787
2013-05-31 17:09:11 +02:00
Bastien Nocera
51e238653d
GtkSearchEntry: Delay the changed signal by default
...
Emit the "changed" signal after 150 msecs, so that searching
through big lists, or doing online searches feels more responsive.
This is something already done in various applications to make
search-as-you type more responsive (gnome-shell, gnome-documents,
gnome-control-center, etc.). The 150 msecs is the value currently
used by gnome-shell, so keep it (invisibly) consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=700229
2013-05-17 19:45:46 +02:00