1#include <gtk/gtk.h>
2
3#include "exampleapp.h"
4#include "exampleappwin.h"
5
6struct _ExampleAppWindow
7{
8 GtkApplicationWindow parent;
9};
10
11G_DEFINE_TYPE(ExampleAppWindow, example_app_window, GTK_TYPE_APPLICATION_WINDOW);
12
13static void
14example_app_window_init (ExampleAppWindow *app)
15{
16}
17
18static void
19example_app_window_class_init (ExampleAppWindowClass *class)
20{
21}
22
23ExampleAppWindow *
24example_app_window_new (ExampleApp *app)
25{
26 return g_object_new (EXAMPLE_APP_WINDOW_TYPE, first_property_name: "application", app, NULL);
27}
28
29void
30example_app_window_open (ExampleAppWindow *win,
31 GFile *file)
32{
33}
34

source code of gtk/examples/application1/exampleappwin.c