| CodeSlayer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
#include <codeslayer/codeslayer-menuitem.h> struct CodeSlayerMenuItem; GtkWidget * codeslayer_menu_item_new (void); GtkWidget * codeslayer_menu_item_new_with_label (const gchar *label);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkMenuItem +----CodeSlayerMenuItem
CodeSlayerMenuItem implements AtkImplementorIface, GtkBuildable, GtkActivatable and GtkActionable.
This is used for the projects popup menu. Classes that implement this should bind to the projects-menu-selected signal.
GtkWidget * codeslayer_menu_item_new (void);
Creates a new CodeSlayerMenuItem.
Returns : |
a new CodeSlayerMenuItem. |
GtkWidget * codeslayer_menu_item_new_with_label (const gchar *label);
Creates a new CodeSlayerMenuItem.
|
the text for the menu item |
Returns : |
a new CodeSlayerMenuItem. |
"projects-menu-selected" signalvoid user_function (CodeSlayerMenuItem *menuitem,
gpointer selections,
gpointer user_data) : No Hooks
The ::projects-menu-selected signal is a request once the menu item is selected.
|
the menuitem that received the signal |
|
the GList of CodeSlayerProjectsSelection objects |
|
user data set when the signal handler was connected. |