HildonDesktopPopupMenu

HildonDesktopPopupMenu

Synopsis




            HildonDesktopPopupMenuPrivate;
            HildonDesktopPopupMenu;
void        hildon_desktop_popup_menu_add_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);
void        hildon_desktop_popup_menu_remove_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);
void        hildon_desktop_popup_menu_replace_items
                                            (HildonDesktopPopupMenu *menu,
                                             GList *items);
GList*      hildon_desktop_popup_menu_get_children
                                            (HildonDesktopPopupMenu *menu);
void        hildon_desktop_popup_menu_select_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);
void        hildon_desktop_popup_menu_deselect_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);
void        hildon_desktop_popup_menu_select_first_item
                                            (HildonDesktopPopupMenu *menu);
void        hildon_desktop_popup_menu_select_last_item
                                            (HildonDesktopPopupMenu *menu);
void        hildon_desktop_popup_menu_activate_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);
GtkMenuItem* hildon_desktop_popup_menu_get_selected_item
                                            (HildonDesktopPopupMenu *menu);
void        hildon_desktop_popup_menu_select_next_item
                                            (HildonDesktopPopupMenu *menu);
void        hildon_desktop_popup_menu_select_prev_item
                                            (HildonDesktopPopupMenu *menu);
void        hildon_desktop_popup_menu_scroll_to_selected
                                            (HildonDesktopPopupMenu *menu);
const GtkWidget* hildon_desktop_popup_menu_get_scroll_button_up
                                            (HildonDesktopPopupMenu *menu);
const GtkWidget* hildon_desktop_popup_menu_get_scroll_button_down
                                            (HildonDesktopPopupMenu *menu);
GtkAdjustment* hildon_desktop_popup_menu_get_adjustment
                                            (HildonDesktopPopupMenu *menu);
void        hildon_desktop_popup_menu_parent_size
                                            (HildonDesktopPopupMenu *menu);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkVBox
                                       +----HildonDesktopPopupMenu

Implemented Interfaces

HildonDesktopPopupMenu implements AtkImplementorIface and GtkBuildable.

Properties


  "item-height"          guint                 : Read / Write / Construct Only
  "parent"               GtkWidget             : Read / Write / Construct Only
  "resize-parent"        gboolean              : Read / Write / Construct

Signals


"popup-menu-resize"
            void        user_function      (HildonDesktopPopupMenu *hildondesktoppopupmenu,
                                            gpointer                user_data)                   : Run first
"show-controls"
            void        user_function      (HildonDesktopPopupMenu *hildondesktoppopupmenu,
                                            gboolean                arg1,
                                            gpointer                user_data)                   : Run last

Description

Details

HildonDesktopPopupMenuPrivate

typedef struct _HildonDesktopPopupMenuPrivate HildonDesktopPopupMenuPrivate;


HildonDesktopPopupMenu

typedef struct _HildonDesktopPopupMenu HildonDesktopPopupMenu;


hildon_desktop_popup_menu_add_item ()

void        hildon_desktop_popup_menu_add_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);

menu :
item :

hildon_desktop_popup_menu_remove_item ()

void        hildon_desktop_popup_menu_remove_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);

menu :
item :

hildon_desktop_popup_menu_replace_items ()

void        hildon_desktop_popup_menu_replace_items
                                            (HildonDesktopPopupMenu *menu,
                                             GList *items);

menu :
items :

hildon_desktop_popup_menu_get_children ()

GList*      hildon_desktop_popup_menu_get_children
                                            (HildonDesktopPopupMenu *menu);

menu :
Returns :

hildon_desktop_popup_menu_select_item ()

void        hildon_desktop_popup_menu_select_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);

menu :
item :

hildon_desktop_popup_menu_deselect_item ()

void        hildon_desktop_popup_menu_deselect_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);

menu :
item :

hildon_desktop_popup_menu_select_first_item ()

void        hildon_desktop_popup_menu_select_first_item
                                            (HildonDesktopPopupMenu *menu);

menu :

hildon_desktop_popup_menu_select_last_item ()

void        hildon_desktop_popup_menu_select_last_item
                                            (HildonDesktopPopupMenu *menu);

menu :

hildon_desktop_popup_menu_activate_item ()

void        hildon_desktop_popup_menu_activate_item
                                            (HildonDesktopPopupMenu *menu,
                                             GtkMenuItem *item);

menu :
item :

hildon_desktop_popup_menu_get_selected_item ()

GtkMenuItem* hildon_desktop_popup_menu_get_selected_item
                                            (HildonDesktopPopupMenu *menu);

menu :
Returns :

hildon_desktop_popup_menu_select_next_item ()

void        hildon_desktop_popup_menu_select_next_item
                                            (HildonDesktopPopupMenu *menu);

menu :

hildon_desktop_popup_menu_select_prev_item ()

void        hildon_desktop_popup_menu_select_prev_item
                                            (HildonDesktopPopupMenu *menu);

menu :

hildon_desktop_popup_menu_scroll_to_selected ()

void        hildon_desktop_popup_menu_scroll_to_selected
                                            (HildonDesktopPopupMenu *menu);

menu :

hildon_desktop_popup_menu_get_scroll_button_up ()

const GtkWidget* hildon_desktop_popup_menu_get_scroll_button_up
                                            (HildonDesktopPopupMenu *menu);

menu :
Returns :

hildon_desktop_popup_menu_get_scroll_button_down ()

const GtkWidget* hildon_desktop_popup_menu_get_scroll_button_down
                                            (HildonDesktopPopupMenu *menu);

menu :
Returns :

hildon_desktop_popup_menu_get_adjustment ()

GtkAdjustment* hildon_desktop_popup_menu_get_adjustment
                                            (HildonDesktopPopupMenu *menu);

menu :
Returns :

hildon_desktop_popup_menu_parent_size ()

void        hildon_desktop_popup_menu_parent_size
                                            (HildonDesktopPopupMenu *menu);

menu :

Property Details

The "item-height" property

  "item-height"          guint                 : Read / Write / Construct Only

Height of the menu items.

Allowed values: [1,G_MAXINT]

Default value: 40


The "parent" property

  "parent"               GtkWidget             : Read / Write / Construct Only

The menu parent window that should be resized.


The "resize-parent" property

  "resize-parent"        gboolean              : Read / Write / Construct

Whether resize or not parent window of menu.

Default value: TRUE

Signal Details

The "popup-menu-resize" signal

void        user_function                  (HildonDesktopPopupMenu *hildondesktoppopupmenu,
                                            gpointer                user_data)                   : Run first

hildondesktoppopupmenu : the object which received the signal.
user_data : user data set when the signal handler was connected.

The "show-controls" signal

void        user_function                  (HildonDesktopPopupMenu *hildondesktoppopupmenu,
                                            gboolean                arg1,
                                            gpointer                user_data)                   : Run last

hildondesktoppopupmenu : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.