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.
2013-07-20 04:21:48 +00:00
|
|
|
#ifndef __EXAMPLEAPPPREFS_H
|
|
|
|
#define __EXAMPLEAPPPREFS_H
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include "exampleappwin.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define EXAMPLE_APP_PREFS_TYPE (example_app_prefs_get_type ())
|
|
|
|
#define EXAMPLE_APP_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXAMPLE_APP_PREFS_TYPE, ExampleAppPrefs))
|
|
|
|
|
|
|
|
|
2013-07-23 23:04:12 +00:00
|
|
|
typedef struct _ExampleAppPrefs ExampleAppPrefs;
|
|
|
|
typedef struct _ExampleAppPrefsClass ExampleAppPrefsClass;
|
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.
2013-07-20 04:21:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
GType example_app_prefs_get_type (void);
|
|
|
|
ExampleAppPrefs *example_app_prefs_new (ExampleAppWindow *win);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __EXAMPLEAPPPREFS_H */
|