libhildondesktop 2.0 Reference Manual | ||||
---|---|---|---|---|
HildonDesktopPopupWindowPrivate; void (*HDPopupWindowPositionFunc) (HildonDesktopPopupWindow *window, gint *x, gint *y, gpointer user_data); enum HildonDesktopPopupWindowDirection; HildonDesktopPopupWindow; GtkWidget* hildon_desktop_popup_window_new (guint n_panes, GtkOrientation orientation, HildonDesktopPopupWindowDirection direction); GtkWidget* hildon_desktop_popup_window_get_pane (HildonDesktopPopupWindow *popup, gint pane); GtkWidget* hildon_desktop_popup_window_get_grabbed_pane (HildonDesktopPopupWindow *popup); void hildon_desktop_popup_window_jump_to_pane (HildonDesktopPopupWindow *popup, gint pane); void hildon_desktop_popup_window_attach_widget (HildonDesktopPopupWindow *popup, GtkWidget *widget); void hildon_desktop_popup_window_popup (HildonDesktopPopupWindow *popup, HDPopupWindowPositionFunc func, gpointer func_data, guint32 activate_time); void hildon_desktop_popup_window_popdown (HildonDesktopPopupWindow *popup); void hildon_desktop_popup_recalculate_position (HildonDesktopPopupWindow *popup);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----HildonDesktopPopupWindow
"direction" gint : Read / Write / Construct Only "n-panes" guint : Read / Write / Construct Only "orientation" gint : Read / Write / Construct Only
typedef struct _HildonDesktopPopupWindowPrivate HildonDesktopPopupWindowPrivate;
void (*HDPopupWindowPositionFunc) (HildonDesktopPopupWindow *window, gint *x, gint *y, gpointer user_data);
window : |
|
x : |
|
y : |
|
user_data : |
typedef enum { HD_POPUP_WINDOW_DIRECTION_LEFT_TOP, HD_POPUP_WINDOW_DIRECTION_RIGHT_BOTTOM } HildonDesktopPopupWindowDirection;
GtkWidget* hildon_desktop_popup_window_new (guint n_panes, GtkOrientation orientation, HildonDesktopPopupWindowDirection direction);
n_panes : |
|
orientation : |
|
direction : |
|
Returns : |
GtkWidget* hildon_desktop_popup_window_get_pane (HildonDesktopPopupWindow *popup, gint pane);
popup : |
|
pane : |
|
Returns : |
GtkWidget* hildon_desktop_popup_window_get_grabbed_pane (HildonDesktopPopupWindow *popup);
popup : |
|
Returns : |
void hildon_desktop_popup_window_jump_to_pane (HildonDesktopPopupWindow *popup, gint pane);
popup : |
|
pane : |
void hildon_desktop_popup_window_attach_widget (HildonDesktopPopupWindow *popup, GtkWidget *widget);
popup : |
|
widget : |
void hildon_desktop_popup_window_popup (HildonDesktopPopupWindow *popup, HDPopupWindowPositionFunc func, gpointer func_data, guint32 activate_time);
popup : |
|
func : |
|
func_data : |
|
activate_time : |
void hildon_desktop_popup_window_popdown (HildonDesktopPopupWindow *popup);
popup : |
void hildon_desktop_popup_recalculate_position (HildonDesktopPopupWindow *popup);
popup : |
"direction"
property"direction" gint : Read / Write / Construct Only
Stack panels to left/top or right/bottom.
Allowed values: [0,1]
Default value: 1
"n-panes"
property"n-panes" guint : Read / Write / Construct Only
Number of extra panes.
Allowed values: <= 20
Default value: 0
"popdown-window"
signalvoid user_function (HildonDesktopPopupWindow *hildondesktoppopupwindow, gpointer user_data) : Run Last
hildondesktoppopupwindow : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |
"popup-window"
signalvoid user_function (HildonDesktopPopupWindow *hildondesktoppopupwindow, gpointer user_data) : Run Last
hildondesktoppopupwindow : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |