Class

GtkColumnViewCell

unstable since: 4.12

Description [src]

final class Gtk.ColumnViewCell : Gtk.ListItem
{
  /* No available fields */
}

GtkColumnViewCell is used by GtkColumnViewColumn to represent items in a cell in GtkColumnView.

The GtkColumnViewCells are managed by the columnview widget (with its factory) and cannot be created by applications, but they need to be populated by application code. This is done by calling gtk_column_view_cell_set_child().

GtkColumnViewCells exist in 2 stages:

  1. The unbound stage where the listitem is not currently connected to an item in the list. In that case, the GtkColumnViewCell:item property is set to NULL.

  2. The bound stage where the listitem references an item from the list. The GtkColumnViewCell:item property is not NULL.

Available since: 4.12

Hierarchy

hierarchy this GtkColumnViewCell ancestor_0 GtkListItem ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Instance methods

gtk_column_view_cell_get_child

Gets the child previously set via gtk_column_view_cell_set_child() or NULL if none was set.

unstable since: 4.12

gtk_column_view_cell_get_focusable

Checks if a list item has been set to be focusable via gtk_column_view_cell_set_focusable().

unstable since: 4.12

gtk_column_view_cell_get_item

Gets the model item that associated with self.

unstable since: 4.12

gtk_column_view_cell_get_position

Gets the position in the model that self currently displays.

unstable since: 4.12

gtk_column_view_cell_get_selected

Checks if the item is displayed as selected.

unstable since: 4.12

gtk_column_view_cell_set_child

Sets the child to be used for this listitem.

unstable since: 4.12

gtk_column_view_cell_set_focusable

Sets self to be focusable.

unstable since: 4.12

Methods inherited from GtkListItem (11)
gtk_list_item_get_activatable

Checks if a list item has been set to be activatable via gtk_list_item_set_activatable().

gtk_list_item_get_child

Gets the child previously set via gtk_list_item_set_child() or NULL if none was set.

gtk_list_item_get_focusable

Checks if a list item has been set to be focusable via gtk_list_item_set_focusable().

unstable since: 4.12

gtk_list_item_get_item

Gets the model item that associated with self.

gtk_list_item_get_position

Gets the position in the model that self currently displays.

gtk_list_item_get_selectable

Checks if a list item has been set to be selectable via gtk_list_item_set_selectable().

gtk_list_item_get_selected

Checks if the item is displayed as selected.

gtk_list_item_set_activatable

Sets self to be activatable.

gtk_list_item_set_child

Sets the child to be used for this listitem.

gtk_list_item_set_focusable

Sets self to be focusable.

unstable since: 4.12

gtk_list_item_set_selectable

Sets self to be selectable.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Gtk.ColumnViewCell:child

Widget used for display.

unstable since: 4.12

Gtk.ColumnViewCell:focusable

If the item can be focused with the keyboard.

unstable since: 4.12

Gtk.ColumnViewCell:item

Displayed item.

unstable since: 4.12

Gtk.ColumnViewCell:position

Position of the item.

unstable since: 4.12

Gtk.ColumnViewCell:selected

If the item is currently selected.

unstable since: 4.12

Properties inherited from GtkListItem (7)
Gtk.ListItem:activatable

If the item can be activated by the user.

Gtk.ListItem:child

Widget used for display.

Gtk.ListItem:focusable

If the item can be focused with the keyboard.

unstable since: 4.12

Gtk.ListItem:item

Displayed item.

Gtk.ListItem:position

Position of the item.

Gtk.ListItem:selectable

If the item can be selected by the user.

Gtk.ListItem:selected

If the item is currently selected.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GtkColumnViewCellClass {
  /* no available fields */
}
No description available.