Class

IdeTruncateModel

Description

final class Ide.TruncateModel : GObject.Object
  implements Gio.ListModel {
  /* No available fields */
}
No description available.

Hierarchy

hierarchy this IdeTruncateModel implements_0 GListModel this--implements_0 ancestor_0 GObject ancestor_0--this

Ancestors

Implements

Constructors

ide_truncate_model_new

Create a new IdeTruncateModel that wraps child_model. Only IdeTruncateModel:max-items will be displayed until IdeTrunicateModel:expanded is set.

Instance methods

ide_truncate_model_get_can_expand
No description available.

ide_truncate_model_get_child_model

Gets the IdeTruncateModel:child-model property.

ide_truncate_model_get_expanded
No description available.

ide_truncate_model_get_max_items
No description available.

ide_truncate_model_set_expanded
No description available.

ide_truncate_model_set_max_items
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GListModel (5)
g_list_model_get_item

Get the item at position.

since: 2.44

g_list_model_get_item_type

Gets the type of the items in list.

since: 2.44

g_list_model_get_n_items

Gets the number of items in list.

since: 2.44

g_list_model_get_object

Get the item at position.

since: 2.44

g_list_model_items_changed

Emits the GListModel::items-changed signal on list.

since: 2.44

Properties

Ide.TruncateModel:can-expand
No description available.

Ide.TruncateModel:child-model

The “child-model” property is the model to be trunicated.

Ide.TruncateModel:expanded
No description available.

Ide.TruncateModel:max-items
No description available.

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.

Signals inherited from GListModel (1)
GListModel::items-changed

This signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added items were added in their place.

since: 2.44

Class structure

struct IdeTruncateModelClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.