ColumnViewCell

gtk.column_view_cell.ColumnViewCell is used by gtk.column_view_column.ColumnViewColumn to represent items in a cell in gtk.column_view.ColumnView.

The gtk.column_view_cell.ColumnViewCells 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.ColumnViewCell.setChild.

gtk.column_view_cell.ColumnViewCells 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 gtk.column_view_cell.ColumnViewCell.GObject.Object property is set to null.

2. The bound stage where the listitem references an item from the list. The gtk.column_view_cell.ColumnViewCell.GObject.Object property is not null.

Members

Functions

getChild
gtk.widget.Widget getChild()

Gets the child previously set via gtk.column_view_cell.ColumnViewCell.setChild or null if none was set.

getFocusable
bool getFocusable()

Checks if a list item has been set to be focusable via gtk.column_view_cell.ColumnViewCell.setFocusable.

getItem
gobject.object.ObjectG getItem()

Gets the model item that associated with self.

getPosition
uint getPosition()

Gets the position in the model that self currently displays.

getSelected
bool getSelected()

Checks if the item is displayed as selected.

setChild
void setChild(gtk.widget.Widget child)

Sets the child to be used for this listitem.

setFocusable
void setFocusable(bool focusable)

Sets self to be focusable.

Inherited Members

From ListItem

getAccessibleDescription
string getAccessibleDescription()

Gets the accessible description of self.

getAccessibleLabel
string getAccessibleLabel()

Gets the accessible label of self.

getActivatable
bool getActivatable()

Checks if a list item has been set to be activatable via gtk.list_item.ListItem.setActivatable.

getChild
gtk.widget.Widget getChild()

Gets the child previously set via gtk.list_item.ListItem.setChild or null if none was set.

getFocusable
bool getFocusable()

Checks if a list item has been set to be focusable via gtk.list_item.ListItem.setFocusable.

getItem
gobject.object.ObjectG getItem()

Gets the model item that associated with self.

getPosition
uint getPosition()

Gets the position in the model that self currently displays.

getSelectable
bool getSelectable()

Checks if a list item has been set to be selectable via gtk.list_item.ListItem.setSelectable.

getSelected
bool getSelected()

Checks if the item is displayed as selected.

setAccessibleDescription
void setAccessibleDescription(string description)

Sets the accessible description for the list item, which may be used by e.g. screen readers.

setAccessibleLabel
void setAccessibleLabel(string label)

Sets the accessible label for the list item, which may be used by e.g. screen readers.

setActivatable
void setActivatable(bool activatable)

Sets self to be activatable.

setChild
void setChild(gtk.widget.Widget child)

Sets the child to be used for this listitem.

setFocusable
void setFocusable(bool focusable)

Sets self to be focusable.

setSelectable
void setSelectable(bool selectable)

Sets self to be selectable.