1 | #ifndef __GTK_ROOT_PRIVATE_H__ |
---|---|
2 | #define __GTK_ROOT_PRIVATE_H__ |
3 | |
4 | #include "gtkroot.h" |
5 | |
6 | #include "gtkconstraintsolverprivate.h" |
7 | |
8 | G_BEGIN_DECLS |
9 | |
10 | /** |
11 | * GtkRootIface: |
12 | * |
13 | * The list of functions that must be implemented for the `GtkRoot` interface. |
14 | */ |
15 | struct _GtkRootInterface |
16 | { |
17 | /*< private >*/ |
18 | GTypeInterface g_iface; |
19 | |
20 | /*< public >*/ |
21 | GdkDisplay * (* get_display) (GtkRoot *self); |
22 | |
23 | GtkConstraintSolver * (* get_constraint_solver) (GtkRoot *self); |
24 | |
25 | GtkWidget * (* get_focus) (GtkRoot *self); |
26 | void (* set_focus) (GtkRoot *self, |
27 | GtkWidget *focus); |
28 | |
29 | }; |
30 | |
31 | GtkConstraintSolver * gtk_root_get_constraint_solver (GtkRoot *self); |
32 | |
33 | void gtk_root_start_layout (GtkRoot *self); |
34 | void gtk_root_stop_layout (GtkRoot *self); |
35 | void gtk_root_queue_restyle (GtkRoot *self); |
36 | |
37 | G_END_DECLS |
38 | |
39 | #endif /* __GTK_ROOT_PRIVATE_H__ */ |
40 |