1#ifndef __GTK_NATIVE_PRIVATE_H__
2#define __GTK_NATIVE_PRIVATE_H__
3
4#include "gtknative.h"
5
6G_BEGIN_DECLS
7
8/**
9 * GtkNativeIface:
10 *
11 * The list of functions that must be implemented for the `GtkNative` interface.
12 */
13struct _GtkNativeInterface
14{
15 /*< private >*/
16 GTypeInterface g_iface;
17
18 /*< public >*/
19 GdkSurface * (* get_surface) (GtkNative *self);
20 GskRenderer * (* get_renderer) (GtkNative *self);
21
22 void (* get_surface_transform) (GtkNative *self,
23 double *x,
24 double *y);
25
26 void (* layout) (GtkNative *self,
27 int width,
28 int height);
29};
30
31void gtk_native_queue_relayout (GtkNative *native);
32void gtk_native_update_opaque_region (GtkNative *native,
33 GtkWidget *contents,
34 gboolean subtract_decoration_corners,
35 gboolean subtract_shadow,
36 int resize_handle_size);
37
38G_END_DECLS
39
40#endif /* __GTK_NATIVE_PRIVATE_H__ */
41

source code of gtk/gtk/gtknativeprivate.h