2023-12-20 15:29:45 +00:00
|
|
|
#pragma once
|
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
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include "exampleapp.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define EXAMPLE_APP_WINDOW_TYPE (example_app_window_get_type ())
|
2016-09-06 17:56:22 +00:00
|
|
|
G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, GtkApplicationWindow)
|
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
|
|
|
|
|
|
|
|
|
|
|
ExampleAppWindow *example_app_window_new (ExampleApp *app);
|
|
|
|
void example_app_window_open (ExampleAppWindow *win,
|
|
|
|
GFile *file);
|