GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::Gtk::TearoffMenuItem Class Reference

A GtkTearoffMenuItem C++ wrapper class. More...

#include <gfc/gtk/tearoffmenuitem.hh>

Inheritance diagram for GFC::Gtk::TearoffMenuItem:

GFC::Gtk::MenuItem GFC::Gtk::Item GFC::Gtk::Bin GFC::Gtk::Container GFC::Gtk::Widget GFC::Gtk::Object GFC::Atk::Implementor GFC::G::Object GFC::G::TypeInterface GFC::G::TypeInstance GFC::G::TypeInstance GFC::Trackable GFC::Trackable List of all members.

Public Member Functions

Constructors
Accessors

Protected Member Functions

Constructors

Detailed Description

A GtkTearoffMenuItem C++ wrapper class.

TearoffMenuItem is a special MenuItem which is used to tear off and reattach its menu. When its menu is shown normally, the 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 as a tearoff menu. When its menu is shown as a tearoff menu, the 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

GFC::Gtk::TearoffMenuItem::TearoffMenuItem GtkTearoffMenuItem *  tearoff_menu_item,
bool  owns_reference = false
[explicit, protected]
 

Construct a new TearoffMenuItem from an existing GtkTearoffMenuItem.

Parameters:
tearoff_menu_item A pointer to a GtkTearoffMenuItem.
owns_reference Set false if the initial reference count is floating, set true if it's not.

The tearoff_menu_item can be a newly created GtkTearoffMenuItem or an existing GtkTearoffMenuItem (see G::Object::Object).


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 00:34:42 2004 for GFC-UI by doxygen 1.3.8