diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-07-20 00:21:48 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-07-20 23:04:47 -0400 |
commit | 8087bb7a22303064fef947fc72639fcf70ce1515 (patch) | |
tree | 6f27902fc47b4d89f831eeb125a0ede3de1d3d17 /examples/application7/exampleapp.h | |
parent | 68025551e13eebcd8c610b104d309494a3aa973d (diff) | |
download | gtk+-8087bb7a22303064fef947fc72639fcf70ce1515.tar.gz |
Add a new example app
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
Diffstat (limited to 'examples/application7/exampleapp.h')
-rw-r--r-- | examples/application7/exampleapp.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/application7/exampleapp.h b/examples/application7/exampleapp.h new file mode 100644 index 0000000000..8b51c598ea --- /dev/null +++ b/examples/application7/exampleapp.h @@ -0,0 +1,19 @@ +#ifndef __EXAMPLEAPP_H +#define __EXAMPLEAPP_H + +#include <gtk/gtk.h> + + +#define EXAMPLE_APP_TYPE (example_app_get_type ()) +#define EXAMPLE_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXAMPLE_APP_TYPE, ExampleApp)) + + +typedef struct ExampleApp ExampleApp; +typedef struct ExampleAppClass ExampleAppClass; + + +GType example_app_get_type (void); +ExampleApp *example_app_new (void); + + +#endif /* __EXAMPLEAPP_H */ |