mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
a1c5a806b3
The conversion was done by guard2one.
34 lines
889 B
C
34 lines
889 B
C
#pragma once
|
|
|
|
#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
|
|
|