|
Public Types |
typedef SigC::Slot3< void,
int&, int&, bool& > | SlotPositionCalc |
| void on_menu_position(int&, int&, bool& push_in);
|
Public Member Functions |
virtual | ~Menu () |
GtkMenu* | gobj () |
| Provides access to the underlying C GtkObject.
|
const GtkMenu* | gobj () const |
| Provides access to the underlying C GtkObject.
|
| Menu () |
void | popup (MenuShell& parent_menu_shell, MenuItem& parent_menu_item, GtkMenuPositionFunc func, gpointer data, guint button, guint32 activate_time) |
void | popup (const SlotPositionCalc& position_calc_slot, guint button, guint32 activate_time) |
| Displays a menu and makes it available for selection.
|
void | popup (guint button, guint32 activate_time) |
| Displays a menu and makes it available for selection.
|
void | reposition () |
void | popdown () |
MenuItem* | get_active () |
const MenuItem* | get_active () const |
void | set_active (guint index) |
void | set_accel_group (const Glib::RefPtr<AccelGroup>& accel_group) |
void | unset_accel_group () |
Glib::RefPtr<AccelGroup> | get_accel_group () |
void | set_accel_path (const Glib::ustring& accel_path) |
void | detach () |
Widget* | get_attach_widget () |
const Widget* | get_attach_widget () const |
void | set_tearoff_state (bool torn_off=true) |
bool | get_tearoff_state () const |
void | set_title (const Glib::ustring& title) |
void | unset_title () |
Glib::ustring | get_title () const |
void | set_screen (const Glib::RefPtr<Gdk::Screen>& screen) |
void | reorder_child (const MenuItem& child, int position) |
Glib::PropertyProxy<Glib::ustring> | property_tearoff_title () |
Protected Member Functions |
void | attach_to_widget (Widget& widget, GtkMenuDetachFunc detacher) |
Related Functions |
(Note that these are not member functions.)
|
Gtk::Menu* | wrap (GtkMenu* object, bool take_copy=false) |