Main Page
Widgets
Namespaces
Book
Gtk::TearoffMenuItem Class Reference
[Widgets, Menu classes]
A special Gtk::MenuItem which is used to tear off and reattach its menu.
More...
Inheritance diagram for Gtk::TearoffMenuItem:
[legend]List of all members.
|
Public Methods |
virtual | ~TearoffMenuItem () |
GtkTearoffMenuItem* | gobj () |
const GtkTearoffMenuItem* | gobj () const |
| TearoffMenuItem () |
bool | is_torn_off () const |
Related Functions |
(Note that these are not member functions.)
|
Gtk::TearoffMenuItem* | wrap (GtkTearoffMenuItem* object, bool take_copy=false) |
Detailed Description
A special Gtk::MenuItem which is used to tear off and reattach its menu.
When its menu is shown normally, the Gtk::TearoffMenuItem is drawn as a dotted line indicating that the menu can be torn off. Activating it causes its menu to be torn off and displayed in its own window. When its menu is shown as a tearoff menu, the Gtk::TearoffMenuItem is drawn as a dotted line which has a left pointing arrow graphic indicating that the tearoff menu can be reattached. Activating it will erase the tearoff menu window.
Constructor & Destructor Documentation
virtual Gtk::TearoffMenuItem::~TearoffMenuItem |
( |
|
) |
[virtual] |
|
Gtk::TearoffMenuItem::TearoffMenuItem |
( |
|
) |
|
|
Member Function Documentation
const GtkTearoffMenuItem* Gtk::TearoffMenuItem::gobj |
( |
|
) |
const [inline] |
|
GtkTearoffMenuItem* Gtk::TearoffMenuItem::gobj |
( |
|
) |
[inline] |
|
bool Gtk::TearoffMenuItem::is_torn_off |
( |
|
) |
|
|
Friends And Related Function Documentation
Gtk::TearoffMenuItem* wrap |
( |
GtkTearoffMenuItem* |
object, |
|
|
bool |
take_copy = false |
|
) |
[related] |
|
The documentation for this class was generated from the following file:
Generated for gtkmm by
Doxygen 1.2.18 © 1997-2001