Class Index | Cross Index | Namespace Index |
Contained in: Gtk
Derived from:
Gtk::Container
Derived by:
Gtk::Menu
Gtk::MenuBar
#include <gtk--/menushell.h>
public function member index: |
||
void | accelerate | (Window&); |
signal void | activate_current | (gboolean); |
void | activate_item | (MenuItem& menu_item, bool force_deactivate); |
void | append | (MenuItem& menu_item); |
signal void | cancel | (); |
emitable signal void | deactivate | (); |
void | deselect | (); |
GtkMenuShell* | gtkobj | (); |
const GtkMenuShell* | gtkobj | () const; |
void | insert | (MenuItem& menu_item, gint position); |
static bool | isA | (Object* object); |
const MenuList& | items | () const; |
MenuList& | items | (); |
signal void | move_current | (GtkMenuDirectionType); |
void | prepend | (MenuItem& menu_item); |
void | select_item | (MenuItem& menu_item); |
signal void | selection_done | (); |
virtual | ~MenuShell | (); |
protected function member index: |
||
MenuShell | (void); | |
virtual void | activate_current_impl | (gboolean p0); |
virtual void | cancel_impl | (); |
virtual void | deactivate_impl | (); |
virtual gint | event_impl | (GdkEvent*); |
virtual void | move_current_impl | (GtkMenuDirectionType p0); |
virtual void | realize_impl | (); |
virtual void | selection_done_impl | (); |
Use this function to assign a popup menu to act as keyboard accelerators for a window. A popup menu is one which acts without a parent.This function has no gtk+ equivelent. In gtk+, you create an accelerator group and then create items with the group then later assign the group to the window. To automate this and save passing arround the group, assignment of accelerators is held off until you assign the menu to its window.
It is not necessary to call this on menubars as they perform this automatically.