gtk2/examples
Mohammed Sadiq 8fcc401e05 examples: Take advantage of user_data passed
The last parameter of the signal callback from .ui
is the template's object from which the class is
derived.

And so, we already have access to the window object.
Let's just use it.
2018-05-08 18:55:48 +05:30
..
application1 examples: Fix Makefiles to use gtk4 for build 2018-05-07 22:29:32 +05:30
application2 examples: Simplify .ui files 2018-05-07 22:30:40 +05:30
application3 examples: Don't use private members for final classes 2018-05-08 14:34:43 +05:30
application4 examples: Don't use private members for final classes 2018-05-08 14:34:43 +05:30
application5 examples: Don't use private members for final classes 2018-05-08 14:34:43 +05:30
application6 examples: Don't use private members for final classes 2018-05-08 14:34:43 +05:30
application7 examples: Take advantage of user_data passed 2018-05-08 18:55:48 +05:30
application8 examples: Take advantage of user_data passed 2018-05-08 18:55:48 +05:30
application9 examples: Take advantage of user_data passed 2018-05-08 18:55:48 +05:30
application10 examples: Take advantage of user_data passed 2018-05-08 18:55:48 +05:30
bp examples: Simplify .ui files 2018-05-07 22:30:40 +05:30
action-namespace.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
builder.c meson: examples: update 2017-05-03 15:10:53 +01:00
builder.ui examples: Simplify .ui files 2018-05-07 22:30:40 +05:30
drawing.c draggesture: Port to new API model 2018-04-26 17:59:42 +02:00
grid-packing.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
hello-world.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
meson.build build: Improve consistency of the "coding" style 2017-05-03 15:10:57 +01:00
plugman.c textview: Redo clipboard handling 2017-12-03 05:46:48 +01:00
README Trivial off-by-one fix 2014-12-08 17:30:35 -05:00
search-bar.c eventcontrollerkey: Port to new API model 2018-04-26 17:59:42 +02:00
sunny.c Rename GtkHeaderBar::show-close-button 2017-12-07 22:37:06 -05:00
window-default.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00

= Examples =

== Building the examples ==

The examples in this directory are built alongside the rest of GTK+.

The examples under the `application[1-10]` directories are also included in
the GTK+ API reference documentation, and can be built independently, using
the system libraries, by doing:

    $ cd application1
    $ make -f Makefile.example