gtk2/gtk/gtknativeprivate.h
Jonas Ådahl 40a9baa2db gtk/native: Remove gtk_native_check_resize()
This is now handle by the corresponding implemenatations using per
non-gobject-type API.
2020-12-07 20:37:29 +01:00

36 lines
936 B
C

#ifndef __GTK_NATIVE_PRIVATE_H__
#define __GTK_NATIVE_PRIVATE_H__
#include "gtknative.h"
G_BEGIN_DECLS
/**
* GtkNativeIface:
*
* The list of functions that must be implemented for the #GtkNative interface.
*/
struct _GtkNativeInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
GdkSurface * (* get_surface) (GtkNative *self);
GskRenderer * (* get_renderer) (GtkNative *self);
void (* get_surface_transform) (GtkNative *self,
double *x,
double *y);
void (* layout) (GtkNative *self,
int width,
int height);
};
void gtk_native_queue_relayout (GtkNative *native);
G_END_DECLS
#endif /* __GTK_NATIVE_PRIVATE_H__ */