Class

GtkNoSelection

[]

Description [src]

final class Gtk.NoSelection : GObject.Object
  implements Gio.ListModel, Gtk.SectionModel, Gtk.SelectionModel {
  /* No available fields */
}

A selection model that does not allow selecting anything.

This model is meant to be used as a simple wrapper around a GListModel when a GtkSelectionModel is required.

GtkNoSelection passes through sections from the underlying model.

[]

Hierarchy

hierarchy this GtkNoSelection implements_0 GListModel this--implements_0 implements_1 GtkSectionModel this--implements_1 implements_2 GtkSelectionModel this--implements_2 ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Constructors

gtk_no_selection_new

Creates a new selection to handle model.

[]

Instance methods

gtk_no_selection_get_model

Gets the model that self is wrapping.

gtk_no_selection_set_model

Sets the model that self should wrap.

Methods inherited from GObject (43)
Methods inherited from GListModel (5)
Methods inherited from GtkSectionModel (2)
Methods inherited from GtkSelectionModel (11)
[]

Properties

Gtk.NoSelection:item-type

The type of items. See g_list_model_get_item_type().

since: 4.8

Gtk.NoSelection:model

The model being managed.

Gtk.NoSelection:n-items

The number of items. See g_list_model_get_n_items().

since: 4.8

[]

Signals

Signals inherited from GObject (1)
Signals inherited from GListModel (1)
Signals inherited from GtkSectionModel (1)
Signals inherited from GtkSelectionModel (1)

Class structure