libhildondesktop 2.0 Reference Manual | ||||
---|---|---|---|---|
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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----HildonDesktopPopupMenu
"item-height" guint : Read / Write / Construct Only "parent" GtkWidget* : Read / Write / Construct Only "resize-parent" gboolean : Read / Write / Construct
typedef struct _HildonDesktopPopupMenuPrivate HildonDesktopPopupMenuPrivate;
void hildon_desktop_popup_menu_add_item (HildonDesktopPopupMenu *menu, GtkMenuItem *item);
menu : |
|
item : |
void hildon_desktop_popup_menu_remove_item (HildonDesktopPopupMenu *menu, GtkMenuItem *item);
menu : |
|
item : |
void hildon_desktop_popup_menu_replace_items (HildonDesktopPopupMenu *menu, GList *items);
menu : |
|
items : |
GList* hildon_desktop_popup_menu_get_children (HildonDesktopPopupMenu *menu);
menu : |
|
Returns : |
void hildon_desktop_popup_menu_select_item (HildonDesktopPopupMenu *menu, GtkMenuItem *item);
menu : |
|
item : |
void hildon_desktop_popup_menu_deselect_item (HildonDesktopPopupMenu *menu, GtkMenuItem *item);
menu : |
|
item : |
void hildon_desktop_popup_menu_select_first_item (HildonDesktopPopupMenu *menu);
menu : |
void hildon_desktop_popup_menu_select_last_item (HildonDesktopPopupMenu *menu);
menu : |
void hildon_desktop_popup_menu_activate_item (HildonDesktopPopupMenu *menu, GtkMenuItem *item);
menu : |
|
item : |
GtkMenuItem* hildon_desktop_popup_menu_get_selected_item (HildonDesktopPopupMenu *menu);
menu : |
|
Returns : |
void hildon_desktop_popup_menu_select_next_item (HildonDesktopPopupMenu *menu);
menu : |
void hildon_desktop_popup_menu_select_prev_item (HildonDesktopPopupMenu *menu);
menu : |
void hildon_desktop_popup_menu_scroll_to_selected (HildonDesktopPopupMenu *menu);
menu : |
const GtkWidget* hildon_desktop_popup_menu_get_scroll_button_up (HildonDesktopPopupMenu *menu);
menu : |
|
Returns : |
const GtkWidget* hildon_desktop_popup_menu_get_scroll_button_down (HildonDesktopPopupMenu *menu);
menu : |
|
Returns : |
GtkAdjustment* hildon_desktop_popup_menu_get_adjustment (HildonDesktopPopupMenu *menu);
menu : |
|
Returns : |
void hildon_desktop_popup_menu_parent_size (HildonDesktopPopupMenu *menu);
menu : |
"item-height"
property"item-height" guint : Read / Write / Construct Only
Height of the menu items.
Allowed values: [1,G_MAXINT]
Default value: 40
"parent"
property"parent" GtkWidget* : Read / Write / Construct Only
The menu parent window that should be resized.
"popup-menu-resize"
signalvoid 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. |
"show-controls"
signalvoid 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. |