gtk2/gtk/gtknativeprivate.h
Matthias Clasen 35708162cc Make GtkNativeInterface private
We are not sure yet if allowing out-of-tree
implementations of GtkNative are a good idea.
2020-08-14 07:03:27 -04:00

32 lines
740 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 (* check_resize) (GtkNative *self);
};
G_END_DECLS
#endif /* __GTK_NATIVE_PRIVATE_H__ */