Main Page Widgets Namespaces Book

# Gtk::Item Class Reference
[Widgets]

This class should be considered as a virtual base class. More...

Inheritance diagram for Gtk::Item:

[legend]
List of all members.

## Public Methods
virtual | ~Item ()
GtkItem* | gobj ()
| Provides access to the underlying C GtkObject.
const GtkItem* | gobj () const
| Provides access to the underlying C GtkObject.
void | select ()
Glib::SignalProxy0<void> | signal_select ()
void | deselect ()
Glib::SignalProxy0<void> | signal_deselect ()
void | toggle ()
Glib::SignalProxy0<void> | signal_toggle ()
## Protected Methods
virtual void | on_select ()
virtual void | on_deselect ()
virtual void | on_toggle ()
| Item ()
## Related Functions
(Note that these are not member functions.)
Gtk::Item* | wrap (GtkItem* object, bool take_copy=false)

## Detailed Description

This class should be considered as a virtual base class.

Only the signals and methods it provides are of any interest. You don't want to instantiate any objects of that class.

## Constructor & Destructor Documentation

virtual Gtk::Item::~Item | ( |  | ) | `[virtual]`

Gtk::Item::Item | ( |  | ) | `[protected]`

## Member Function Documentation

void Gtk::Item::deselect | ( |  | ) |

| Reimplemented in Gtk::MenuItem.

const GtkItem* Gtk::Item::gobj | ( |  | ) | const`[inline]`

| Provides access to the underlying C GtkObject. Reimplemented from Gtk::Bin. Reimplemented in Gtk::CheckMenuItem, Gtk::ComboDropDownItem, Gtk::ImageMenuItem, Gtk::MenuItem, Gtk::RadioMenuItem, Gtk::SeparatorMenuItem, and Gtk::TearoffMenuItem.

GtkItem* Gtk::Item::gobj | ( |  | ) | `[inline]`

| Provides access to the underlying C GtkObject. Reimplemented from Gtk::Bin. Reimplemented in Gtk::CheckMenuItem, Gtk::ComboDropDownItem, Gtk::ImageMenuItem, Gtk::MenuItem, Gtk::RadioMenuItem, Gtk::SeparatorMenuItem, and Gtk::TearoffMenuItem.

virtual void Gtk::Item::on_deselect | ( |  | ) | `[protected, virtual]`

virtual void Gtk::Item::on_select | ( |  | ) | `[protected, virtual]`

virtual void Gtk::Item::on_toggle | ( |  | ) | `[protected, virtual]`

void Gtk::Item::select | ( |  | ) |

| Reimplemented in Gtk::MenuItem.

Glib::SignalProxy0<void> Gtk::Item::signal_deselect | ( |  | ) |

| Prototype: `void deselect()`

Glib::SignalProxy0<void> Gtk::Item::signal_select | ( |  | ) |

| Prototype: `void select()`

Glib::SignalProxy0<void> Gtk::Item::signal_toggle | ( |  | ) |

| Prototype: `void toggle()`

void Gtk::Item::toggle | ( |  | ) |

## Friends And Related Function Documentation

Gtk::Item* wrap | ( | GtkItem* | object,
|  | bool | take_copy = false
| ) | `[related]`

The documentation for this class was generated from the following file:

- gtk/gtkmm/item.h