HildonDesktopPopupWindow

HildonDesktopPopupWindow

Synopsis

                    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);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----HildonDesktopPopupWindow

Implemented Interfaces

HildonDesktopPopupWindow implements AtkImplementorIface and GtkBuildable.

Properties

  "direction"                gint                  : Read / Write / Construct Only
  "n-panes"                  guint                 : Read / Write / Construct Only
  "orientation"              gint                  : Read / Write / Construct Only

Signals

  "popdown-window"                                 : Run Last
  "popup-window"                                   : Run Last

Description

Details

HildonDesktopPopupWindowPrivate

typedef struct _HildonDesktopPopupWindowPrivate HildonDesktopPopupWindowPrivate;


HDPopupWindowPositionFunc ()

void                (*HDPopupWindowPositionFunc)        (HildonDesktopPopupWindow *window,
                                                         gint *x,
                                                         gint *y,
                                                         gpointer user_data);

window :
x :
y :
user_data :

enum HildonDesktopPopupWindowDirection

typedef enum 
{
  HD_POPUP_WINDOW_DIRECTION_LEFT_TOP,
  HD_POPUP_WINDOW_DIRECTION_RIGHT_BOTTOM
}
HildonDesktopPopupWindowDirection;


HildonDesktopPopupWindow

typedef struct _HildonDesktopPopupWindow HildonDesktopPopupWindow;


hildon_desktop_popup_window_new ()

GtkWidget*          hildon_desktop_popup_window_new     (guint n_panes,
                                                         GtkOrientation orientation,
                                                         HildonDesktopPopupWindowDirection direction);

n_panes :
orientation :
direction :
Returns :

hildon_desktop_popup_window_get_pane ()

GtkWidget*          hildon_desktop_popup_window_get_pane
                                                        (HildonDesktopPopupWindow *popup,
                                                         gint pane);

popup :
pane :
Returns :

hildon_desktop_popup_window_get_grabbed_pane ()

GtkWidget*          hildon_desktop_popup_window_get_grabbed_pane
                                                        (HildonDesktopPopupWindow *popup);

popup :
Returns :

hildon_desktop_popup_window_jump_to_pane ()

void                hildon_desktop_popup_window_jump_to_pane
                                                        (HildonDesktopPopupWindow *popup,
                                                         gint pane);

popup :
pane :

hildon_desktop_popup_window_attach_widget ()

void                hildon_desktop_popup_window_attach_widget
                                                        (HildonDesktopPopupWindow *popup,
                                                         GtkWidget *widget);

popup :
widget :

hildon_desktop_popup_window_popup ()

void                hildon_desktop_popup_window_popup   (HildonDesktopPopupWindow *popup,
                                                         HDPopupWindowPositionFunc func,
                                                         gpointer func_data,
                                                         guint32 activate_time);

popup :
func :
func_data :
activate_time :

hildon_desktop_popup_window_popdown ()

void                hildon_desktop_popup_window_popdown (HildonDesktopPopupWindow *popup);

popup :

hildon_desktop_popup_recalculate_position ()

void                hildon_desktop_popup_recalculate_position
                                                        (HildonDesktopPopupWindow *popup);

popup :

Property Details

The "direction" property

  "direction"                gint                  : Read / Write / Construct Only

Stack panels to left/top or right/bottom.

Allowed values: [0,1]

Default value: 1


The "n-panes" property

  "n-panes"                  guint                 : Read / Write / Construct Only

Number of extra panes.

Allowed values: <= 20

Default value: 0


The "orientation" property

  "orientation"              gint                  : Read / Write / Construct Only

Stack panels horizontally or vertically.

Allowed values: [0,1]

Default value: 0

Signal Details

The "popdown-window" signal

void                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.

The "popup-window" signal

void                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.