blob: 2d9c18e7c80a2e9441e6d274540b25e6e4ce9fd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#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);
int (* get_position_x) (GdkPopup *popup);
int (* get_position_y) (GdkPopup *popup);
};
typedef enum
{
GDK_POPUP_PROP_PARENT,
GDK_POPUP_PROP_AUTOHIDE,
GDK_POPUP_NUM_PROPERTIES
} GdkPopupProperties;
guint gdk_popup_install_properties (GObjectClass *object_class,
guint first_prop);
G_END_DECLS
#endif /* __GDK_POPUP_PRIVATE_H__ */
|