Gtk_MenuFactory3
Header required
#include <gtk--/menufactory.h>>
Properties
path
|
Type: string |
|---|---|
type
|
Type: GtkMenuFactoryType |
accel_group
|
Type: GtkAccelGroup* |
widget
|
Type: Gtk_Widget* |
subfactories
|
Type: GList* |
|
.IP |
Public member index
Gtk_MenuFactory(GtkMenuFactoryType type); Gtk_MenuFactory(GtkMenuFactory *castitem); virtual ~Gtk_MenuFactory(); static bool isGtkMenuFactory(Gtk_Object *checkcast); void add_entries(GtkMenuEntry *entries, int nentries); template Gtk_MenuItem* add_entry(char *path, char *accelerator, T *target_widget, void (T::*target_method)(char*), char *target_method_arg); Gtk_MenuItem * add_entry(char *path, char *accelerator, const MenuFactoryConnectorBase &connector); Gtk_MenuItem* add_entry(char *path, char *accelerator, void (*target_func)()); void add_subfactory(Gtk_MenuFactory *subfactory, const string &path); void remove_paths(gchar**paths, int npaths); void remove_entries(GtkMenuEntry *entries, int nentries); DON'T USE void remove_subfactory(Gtk_MenuFactory *subfactory, const string &path); Gtk_MenuPath * factory_find(const string &path); THIS METHOD RETURNS AN ALLOCATED OBJECT Gtk_MenuBar* get_menubar_widget();
Protected member index
GtkMenuFactory * gtkmenufactory;
Private member index
Gtk_MenuBar * menubar; Gtk_AccelGroup * accel_group;