Class

IdeTreeModel

Description

final class Ide.TreeModel : Ide.Object {
  /* No available fields */
}
No description available.

Ancestors

Implements

  • GtkTreeDragDest
  • GtkTreeDragSource
  • GtkTreeModel

Instance methods

ide_tree_model_expand_async
No description available.
ide_tree_model_expand_finish
No description available.
ide_tree_model_get_iter_for_node

Gets a GtkTreeIter that points at node.

Available since: 3.32

ide_tree_model_get_kind

Gets the kind of model that is being generated. See IdeTreeModel:kind for more information.

Available since: 3.32

ide_tree_model_get_node

Gets the IdeTreeNode found at iter.

Available since: 3.32

ide_tree_model_get_path_for_node

Gets the GtkTreePath pointing at node.

Available since: 3.32

ide_tree_model_get_root

Gets the root IdeTreeNode. This node is never visualized in the tree, but is used to build the immediate children which are displayed in the tree.

Available since: 3.32

ide_tree_model_get_tree
No description available.

Available since: 3.32

ide_tree_model_invalidate

Invalidates model starting from node so that those items are rebuilt using the configured tree addins.

Available since: 3.32

ide_tree_model_set_kind

Sets the kind of model that is being created. This determines what plugins are used to generate the tree contents.

Available since: 3.32

ide_tree_model_set_root
No description available.
Methods inherited from IdeObject (28)
ide_object_add

Adds child to self, with location dependent on location.

Available since: 3.32

ide_object_append

Inserts child as the last child of self.

Available since: 3.32

ide_object_destroy
No description available.
ide_object_ensure_child_typed

Like ide_object_get_child_typed() except that it creates an object of type if it is missing.

Available since: 3.32

ide_object_foreach

Calls callback for each child of self.

Available since: 3.32

ide_object_get_child_typed

Finds the first child of self that is of type.

Available since: 3.32

ide_object_get_children_typed

Gets all children matching type.

Available since: 3.32

ide_object_get_context

Gets the IdeContext for the object.

Available since: 3.32

ide_object_get_n_children

Gets the number of children for an object.

Available since: 3.32

ide_object_get_nth_child

Gets the nth child of self.

Available since: 3.32

ide_object_get_parent

Gets the parent IdeObject, if any.

Available since: 3.32

ide_object_get_position

Gets the position of self within the parent node.

Available since: 3.32

ide_object_in_destruction
No description available.
ide_object_insert_after

Inserts child into selfs children, directly after sibling.

Available since: 3.32

ide_object_insert_before

Inserts child into selfs children, directly before sibling.

Available since: 3.32

ide_object_insert_sorted

Locates the proper sibling for child by using func amongst selfs children IdeObject. Those objects must already be sorted.

Available since: 3.32

ide_object_is_root

Checks if self is root, meaning it has no parent.

Available since: 3.32

ide_object_lock

Acquires the lock for self. This can be useful when you need to do multi-threaded work with self and want to ensure exclusivity.

Available since: 3.32

ide_object_prepend

Inserts child as the first child of self.

Available since: 3.32

ide_object_ref_cancellable

Gets a GCancellable for the object.

Available since: 3.32

ide_object_ref_context

Gets the root IdeContext for the object, if any.

Available since: 3.32

ide_object_ref_parent

Gets the parent IdeObject, if any.

Available since: 3.32

ide_object_ref_root

Finds and returns the toplevel object in the tree.

Available since: 3.32

Properties

Ide.TreeModel:kind

The “kind” property is used to determine what IdeTreeAddin plugins to load. Only plugins which match the “kind” will be loaded to extend the tree contents.

Available since: 3.32

Ide.TreeModel:root

The “root” property contains the root IdeTreeNode that is used to build the tree. It should contain an object for the IdeTreeNode:item property so that IdeTreeAddins may use it to build the node and any children.

Available since: 3.32

Ide.TreeModel:tree
No description available.
Properties inherited from IdeObject (2)
Ide.Object:cancellable

The “cancellable” property is a GCancellable that can be used by operations that will be cancelled when the IdeObject::destroy signal is emitted on self.

Available since: 3.32

Ide.Object:parent

The parent IdeObject, if any.

Available since: 3.32

Class structure

struct IdeTreeModelClass {
  IdeObjectClass parent_class;
  
}
Class members
parent_class
IdeObjectClass
  No description available.