Gtk-- Reference: Gtk::ListItem

Class Index | Cross Index | Namespace Index

# Class Gtk::ListItem

An item in a `Gtk::List`.
Contained in: Gtk
Derived from: Gtk::Item
Derived by: none

#include <gtk--/listitem.h>

### public function member index:
`` | `ListItem` | `()`;
``explicit`` | `ListItem` | `(`const` `string`& `label`, `gfloat` `x`=0.0, `gfloat` `y`=0.5)`;
``signal` `void`` | `end_selection` | `()`;
``signal` `void`` | `extend_selection` | `(`GtkScrollType`, `gfloat`, `gboolean`)`;
``GtkListItem`*` | `gtkobj` | `()`;
``const` `GtkListItem`*` | `gtkobj` | `() `const``;
``static` `bool`` | `isA` | `(`Object`* `object`)`;
``signal` `void`` | `scroll_horizontal` | `(`GtkScrollType`, `gfloat`)`;
``signal` `void`` | `scroll_vertical` | `(`GtkScrollType`, `gfloat`)`;
``signal` `void`` | `select_all` | `()`;
``signal` `void`` | `start_selection` | `()`;
``signal` `void`` | `toggle_add_mode` | `()`;
``signal` `void`` | `toggle_focus_row` | `()`;
``signal` `void`` | `undo_selection` | `()`;
``signal` `void`` | `unselect_all` | `()`;
``virtual`` | `~ListItem` | `()`;
### protected function member index:
``virtual` `void`` | `end_selection_impl` | `()`;
``virtual` `void`` | `extend_selection_impl` | `(`GtkScrollType` `scroll_type`, `gfloat` `position`, `gboolean` `auto_start_selection`)`;
``virtual` `void`` | `scroll_horizontal_impl` | `(`GtkScrollType` `scroll_type`, `gfloat` `position`)`;
``virtual` `void`` | `scroll_vertical_impl` | `(`GtkScrollType` `scroll_type`, `gfloat` `position`)`;
``virtual` `void`` | `select_all_impl` | `()`;
``virtual` `void`` | `start_selection_impl` | `()`;
``virtual` `void`` | `toggle_add_mode_impl` | `()`;
``virtual` `void`` | `toggle_focus_row_impl` | `()`;
``virtual` `void`` | `undo_selection_impl` | `()`;
``virtual` `void`` | `unselect_all_impl` | `()`;

## Description:

The `Gtk::ListItem` widget is used for each item in a `Gtk::List`.

## Function Member Descriptions:

Gtk::ListItem::ListItem - Creates a new `Gtk::ListItem` with a child label containing the given string.

``explicit`` `ListItem``(`const` `string`& `label`, `gfloat` `x`=0.0, `gfloat` `y`=0.5)`;

> label: The string to use for the child label.

Gtk::ListItem::gtkobj - Returns the underlaying gtk+ object.

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

``static` `bool`` `isA``(`Object`* `object`)`;