1 #ifndef __GDK_POPUP_PRIVATE_H__ 2 #define __GDK_POPUP_PRIVATE_H__ 3 4 #include "gdkpopup.h" 5 6 G_BEGIN_DECLS 7 8 struct _GdkPopupInterface 9 { 10 GTypeInterface g_iface; 11 12 gboolean (* present) (GdkPopup *popup, 13 int width, 14 int height, 15 GdkPopupLayout *layout); 16 17 GdkGravity (* get_surface_anchor) (GdkPopup *popup); 18 GdkGravity (* get_rect_anchor) (GdkPopup *popup); 19 int (* get_position_x) (GdkPopup *popup); 20 int (* get_position_y) (GdkPopup *popup); 21 }; 22 23 typedef enum 24 { 25 GDK_POPUP_PROP_PARENT, 26 GDK_POPUP_PROP_AUTOHIDE, 27 GDK_POPUP_NUM_PROPERTIES 28 } GdkPopupProperties; 29 30 guint gdk_popup_install_properties (GObjectClass *object_class, 31 guint first_prop); 32 33 G_END_DECLS 34 35 #endif /* __GDK_POPUP_PRIVATE_H__ */ 36