1.34 <GtkColumnViewRow>

Class: <GtkColumnViewRow>

It derives from <GObject>.

Configures how rows are displayed in a <GtkColumnView>.

It is not used to set the widgets displayed in the individual cells. For that see GtkColumnViewColumn.set_factory and GtkColumnViewCell.

Properties

Property: column-view-row:accessible-description self

The accessible description to set on the row.

Its value is a string, or #f.

Set it with (set! (column-view-row:accessible-description self) value).

Property: column-view-row:accessible-label self

The accessible label to set on the row.

Its value is a string, or #f.

Set it with (set! (column-view-row:accessible-label self) value).

Property: column-view-row:activatable self

If the row can be activated by the user.

Its value is a boolean.

Set it with (set! (column-view-row:activatable self) value).

Property: column-view-row:focusable self

If the row can be focused with the keyboard.

Its value is a boolean.

Set it with (set! (column-view-row:focusable self) value).

Property: column-view-row:item self

The item for this row.

Its value is a <GObject>, or #f.

It is read only.

Property: column-view-row:position self

Position of the row.

Its value is an unsigned 32-bit integer.

It is read only.

Property: column-view-row:selectable self

If the row can be selected by the user.

Its value is a boolean.

Set it with (set! (column-view-row:selectable self) value).

Property: column-view-row:selected self

If the item in the row is currently selected.

Its value is a boolean.

It is read only.

Procedures

Method: column-view-row:get-accessible-description self ⇒ %return
Method: get-accessible-description self ⇒ %return

Gets the accessible description of self.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

%return

Returned: a string.

the accessible description

Method: column-view-row:get-accessible-label self ⇒ %return
Method: get-accessible-label self ⇒ %return

Gets the accessible label of self.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

%return

Returned: a string.

the accessible label

Method: column-view-row:get-activatable? self ⇒ %return
Method: get-activatable? self ⇒ %return

Checks if the row has been set to be activatable via column-view-row:set-activatable.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

%return

Returned: a boolean.

#t if the row is activatable

Method: column-view-row:get-focusable? self ⇒ %return
Method: get-focusable? self ⇒ %return

Checks if a row item has been set to be focusable via column-view-row:set-focusable.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

%return

Returned: a boolean.

#t if the row is focusable

Method: column-view-row:get-item self ⇒ %return
Method: get-item self ⇒ %return

Gets the model item that associated with self.

If self is unbound, this function returns #f.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

%return

Returned: a <GObject>, or #f.

The item displayed

Method: column-view-row:get-position self ⇒ %return
Method: get-position self ⇒ %return

Gets the position in the model that self currently displays.

If self is unbound, GTK_INVALID_LIST_POSITION is returned.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

%return

Returned: an unsigned 32-bit integer.

The position of this row

Method: column-view-row:get-selectable? self ⇒ %return
Method: get-selectable? self ⇒ %return

Checks if the row has been set to be selectable via column-view-row:set-selectable.

Do not confuse this function with column-view-row:get-selected?.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

%return

Returned: a boolean.

#t if the row is selectable

Method: column-view-row:get-selected? self ⇒ %return
Method: get-selected? self ⇒ %return

Checks if the item is selected that this row corresponds to.

The selected state is maintained by the list widget and its model and cannot be set otherwise.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

%return

Returned: a boolean.

#t if the item is selected.

Method: column-view-row:set-accessible-description self description
Method: set-accessible-description self description

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

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

description

Passed: a string.

the description

Method: column-view-row:set-accessible-label self label
Method: set-accessible-label self label

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

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

label

Passed: a string.

the label

Method: column-view-row:set-activatable self activatable
Method: set-activatable self activatable

Sets self to be activatable.

If a row is activatable, double-clicking on the row, using the Return key or calling widget:activate? will activate the row. Activating instructs the containing columnview to emit the column-view:activate signal.

By default, row are activatable.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

activatable

Passed: a boolean.

if the row should be activatable

Method: column-view-row:set-focusable self focusable
Method: set-focusable self focusable

Sets self to be focusable.

If a row is focusable, it can be focused using the keyboard. This works similar to widget:set-focusable.

Note that if row are not focusable, the contents of cells can still be focused if they are focusable.

By default, rows are focusable.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

focusable

Passed: a boolean.

if the row should be focusable

Method: column-view-row:set-selectable self selectable
Method: set-selectable self selectable

Sets self to be selectable.

If a row is selectable, clicking on the row or using the keyboard will try to select or unselect the row. Whether this succeeds is up to the model to determine, as it is managing the selected state.

Note that this means that making a row non-selectable has no influence on the selected state at all. A non-selectable row may still be selected.

By default, rows are selectable.

self

Passed: a <GtkColumnViewRow>.

a <GtkColumnViewRow>

selectable

Passed: a boolean.

if the row should be selectable