Gtk-- Reference: Gtk::Item

Class Index | Cross Index | Namespace Index

# Class Gtk::Item

Abstract base class for `Gtk::MenuItem`, `Gtk::ListItem` and `Gtk::TreeItem`.
Contained in: Gtk
Derived from: Gtk::Bin
Derived by: Gtk::ListItem Gtk::MenuItem Gtk::TreeItem

#include <gtk--/item.h>

### public function member index:
``emitable` `signal` `void`` | `deselect` | `()`;
``GtkItem`*` | `gtkobj` | `()`;
``const` `GtkItem`*` | `gtkobj` | `() `const``;
``static` `bool`` | `isA` | `(`Object`* `object`)`;
``emitable` `signal` `void`` | `select` | `()`;
``emitable` `signal` `void`` | `toggle` | `()`;
``virtual`` | `~Item` | `()`;
### protected function member index:
`` | `Item` | `()`;
``virtual` `void`` | `deselect_impl` | `()`;
``virtual` `void`` | `select_impl` | `()`;
``virtual` `void`` | `toggle_impl` | `()`;

## Description:

The `Gtk::Item` widget is an abstract base class for ``Gtk::MenuItem``, ``Gtk::ListItem`` and ``Gtk::TreeItem``.

## Function Member Descriptions:

Gtk::Item::deselect - Triggered when the item is deselected

``emitable` `signal` `void`` `deselect``()`;
``virtual` `void`` `deselect_impl``()`;
Gtk::Item::gtkobj - Returns the underlaying gtk+ object.

``GtkItem`*` `gtkobj``()`;
Gtk::Item::isA - Returns true if object is this type.

``static` `bool`` `isA``(`Object`* `object`)`;
Gtk::Item::select - Triggered when the item is selected

``emitable` `signal` `void`` `select``()`;
``virtual` `void`` `select_impl``()`;
Gtk::Item::toggle - Triggered when the item is toggled

``emitable` `signal` `void`` `toggle``()`;
``virtual` `void`` `toggle_impl``()`;