diff options
Diffstat (limited to 'gdk/gdkpopupprivate.h')
| -rw-r--r-- | gdk/gdkpopupprivate.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gdk/gdkpopupprivate.h b/gdk/gdkpopupprivate.h new file mode 100644 index 0000000000..6b7466a64e --- /dev/null +++ b/gdk/gdkpopupprivate.h @@ -0,0 +1,29 @@ +#ifndef __GDK_POPUP_PRIVATE_H__ +#define __GDK_POPUP_PRIVATE_H__ + +#include "gdkpopup.h" + +G_BEGIN_DECLS + + +struct _GdkPopupInterface +{ + GTypeInterface g_iface; + + gboolean (* present) (GdkPopup *popup, + int width, + int height, + GdkPopupLayout *layout); + + GdkGravity (* get_surface_anchor) (GdkPopup *popup); + GdkGravity (* get_rect_anchor) (GdkPopup *popup); + GdkSurface * (* get_parent) (GdkPopup *popup); + void (* get_position) (GdkPopup *popup, + int *x, + int *y); + gboolean (* get_autohide) (GdkPopup *popup); +}; + +G_END_DECLS + +#endif /* __GDK_POPUP_PRIVATE_H__ */ |
