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.item property is set to null.

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

Constructors

this
this(void* ptr, Flag!"Take" take)

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.ObjectWrap 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.

self
ColumnViewCell self()

Returns this, for use in with statements.

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.

Properties

child
gtk.widget.Widget child [@property getter]

Get child property.

child
gtk.widget.Widget child [@property setter]

Set child property.

focusable
bool focusable [@property getter]

Get focusable property.

focusable
bool focusable [@property setter]

Set focusable property.

gType
GType gType [@property getter]
item
gobject.object.ObjectWrap item [@property getter]

Get item property.

position
uint position [@property getter]

Get position property.

selected
bool selected [@property getter]

Get selected property.

Static functions

getGType
GType getGType()

Inherited Members

From ListItem

getGType
GType getGType()
gType
GType gType [@property getter]
self
ListItem self()

Returns this, for use in with statements.

accessibleDescription
string accessibleDescription [@property getter]

Get accessibleDescription property.

accessibleDescription
string accessibleDescription [@property setter]

Set accessibleDescription property.

accessibleLabel
string accessibleLabel [@property getter]

Get accessibleLabel property.

accessibleLabel
string accessibleLabel [@property setter]

Set accessibleLabel property.

activatable
bool activatable [@property getter]

Get activatable property.

activatable
bool activatable [@property setter]

Set activatable property.

child
gtk.widget.Widget child [@property getter]

Get child property.

child
gtk.widget.Widget child [@property setter]

Set child property.

focusable
bool focusable [@property getter]

Get focusable property.

focusable
bool focusable [@property setter]

Set focusable property.

item
gobject.object.ObjectWrap item [@property getter]

Get item property.

position
uint position [@property getter]

Get position property.

selectable
bool selectable [@property getter]

Get selectable property.

selectable
bool selectable [@property setter]

Set selectable property.

selected
bool selected [@property getter]

Get selected property.

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.ObjectWrap 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.