gtk/examples
Emmanuele Bassi 7ac6e25ffc Use GtkApplication in the examples
Some people read the "Getting Started" section as a series of
incremental lessons, and having the examples go from GtkApplication to
the old style "init / spin the main loop" confuses them.

We should be using GtkApplication everywhere in our examples.
2020-10-21 22:44:53 +01:00
..
application1 Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
application2 Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
application3 Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
application4 examples: Fix multiple small problems 2020-08-13 17:30:47 -04:00
application5 examples: Fix multiple small problems 2020-08-13 17:30:47 -04:00
application6 examples: Fix multiple small problems 2020-08-13 17:30:47 -04:00
application7 grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
application8 examples: Fix multiple small problems 2020-08-13 17:30:47 -04:00
application9 examples: Fix multiple small problems 2020-08-13 17:30:47 -04:00
application10 Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
bp Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
action-namespace.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
builder.c Use GtkApplication in the examples 2020-10-21 22:44:53 +01:00
builder.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
drawing.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
grid-packing.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
hello-world.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
meson.build Refresh the tutorial examples 2020-05-11 08:15:56 -04:00
plugman.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
README examples: Fix multiple small problems 2020-08-13 17:30:47 -04:00
search-bar.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
sunny.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02: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-9]` 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

== Running the examples ==

The examples can be run uninstalled.

The later demos are using GSettings,so they need a GSettings schema.
The code for these demos contains a workaround to look for the schema
in the current directory, so this works:

    $ cd application5
    & ./exampleapp window.ui