summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/listbox.c
Commit message (Collapse)AuthorAgeFilesLines
* demo: use the installed named iconWilliam Jon McCann2013-11-051-3/+1
|
* CosmeticsMatthias Clasen2013-10-071-1/+1
| | | | | Make the gtk-demo listbox example follow others in window title style.
* Another round of template binding api changesMatthias Clasen2013-07-261-13/+13
| | | | | | | | | | | We rename the gtk_widget_class_bind_template_child{_internal} macros by appending a _private to their name. Otherwise, it would be too magic to pass the 'public' names as arguments, but affect a member of the Private struct. At the same time, Add two new macros with the old names, gtk_widget_class_bind_template_child{_internal} that operate on members of the instance struct.
* Rename the widget template APIEmmanuele Bassi2013-07-261-16/+16
| | | | | | | | | | | | | | | | | | | | The macros and functions are inconsistently named, and are not tied to the "template" concept - to the point that it seems plausible to use them without setting the template. The new naming scheme is as follows: gtk_widget_class_bind_template_child_full gtk_widget_class_bind_template_callback_full With the convenience macros: gtk_widget_class_bind_template_child gtk_widget_class_bind_template_child_internal gtk_widget_class_bind_template_callback https://bugzilla.gnome.org/show_bug.cgi?id=700898 https://bugzilla.gnome.org/show_bug.cgi?id=700896
* widget: Use a real offset in gtk_widget_class_automate_childAlexander Larsson2013-07-261-13/+13
| | | | | | | | | | Using an offset from the struct means you can have children in both the public and private (via G_PRIVATE_OFFSET) parts of the instance. It also matches the new private macros nicer. https://bugzilla.gnome.org/show_bug.cgi?id=702563 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* gtk-demo: Use the new macros for adding instance private dataEmmanuele Bassi2013-07-091-7/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Trivial rewordingMatthias Clasen2013-06-281-1/+1
| | | | | Make the listbox demo follow the naming convention of the other demos.
* gtk-demo: Add GtkListBox demoAlexander Larsson2013-06-181-0/+376