Interface

IdeTreeAddin

Description

interface Ide.TreeAddin : GObject.Object
No description available.

Prerequisite

In order to implement TreeAddin, your type must inherit fromGObject.

Instance methods

ide_tree_addin_build_children_async

This function is called when building the children of a node. This happens when expanding an node that might have children, or building the root node.

ide_tree_addin_build_children_finish

Completes an asynchronous request to ide_tree_addin_build_children_async().

ide_tree_addin_build_node

This function is called when preparing a node for display in the tree.

ide_tree_addin_load
No description available.

ide_tree_addin_node_activated
No description available.

ide_tree_addin_node_collapsed
No description available.

ide_tree_addin_node_draggable

Checks if a node is draggable.

since: 44

ide_tree_addin_node_droppable

Determines if drop_node is a droppable for drop_target.

since: 44

ide_tree_addin_node_dropped_async
No description available.

ide_tree_addin_node_dropped_finish
No description available.

ide_tree_addin_node_expanded
No description available.

ide_tree_addin_selection_changed
No description available.

ide_tree_addin_unload
No description available.

Interface structure

struct IdeTreeAddinInterface {
  GTypeInterface parent;
  void (* load) (
    IdeTreeAddin* self,
    IdeTree* tree
  );
  void (* unload) (
    IdeTreeAddin* self,
    IdeTree* tree
  );
  void (* build_node) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  );
  void (* build_children) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  );
  void (* build_children_async) (
    IdeTreeAddin* self,
    IdeTreeNode* node,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  gboolean (* build_children_finish) (
    IdeTreeAddin* self,
    GAsyncResult* result,
    GError** error
  );
  gboolean (* node_activated) (
    IdeTreeAddin* self,
    IdeTree* tree,
    IdeTreeNode* node
  );
  void (* selection_changed) (
    IdeTreeAddin* self,
    IdeTreeNode* selection
  );
  void (* node_expanded) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  );
  void (* node_collapsed) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  );
  GdkContentProvider* (* node_draggable) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  );
  GdkDragAction (* node_droppable) (
    IdeTreeAddin* self,
    GtkDropTarget* drop_target,
    IdeTreeNode* drop_node,
    GArray* gtypes
  );
  void (* node_dropped_async) (
    IdeTreeAddin* self,
    GtkDropTarget* drop_target,
    IdeTreeNode* drop_node,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  gboolean (* node_dropped_finish) (
    IdeTreeAddin* self,
    GAsyncResult* result,
    GError** error
  );
  
}
No description available.
Interface members
parent
GTypeInterface
 No description available.
load
void (* load) (
    IdeTreeAddin* self,
    IdeTree* tree
  )
 No description available.
unload
void (* unload) (
    IdeTreeAddin* self,
    IdeTree* tree
  )
 No description available.
build_node
void (* build_node) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  )
 No description available.
build_children
void (* build_children) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  )
 No description available.
build_children_async
void (* build_children_async) (
    IdeTreeAddin* self,
    IdeTreeNode* node,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
build_children_finish
gboolean (* build_children_finish) (
    IdeTreeAddin* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.
node_activated
gboolean (* node_activated) (
    IdeTreeAddin* self,
    IdeTree* tree,
    IdeTreeNode* node
  )
 No description available.
selection_changed
void (* selection_changed) (
    IdeTreeAddin* self,
    IdeTreeNode* selection
  )
 No description available.
node_expanded
void (* node_expanded) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  )
 No description available.
node_collapsed
void (* node_collapsed) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  )
 No description available.
node_draggable
GdkContentProvider* (* node_draggable) (
    IdeTreeAddin* self,
    IdeTreeNode* node
  )
 No description available.
node_droppable
GdkDragAction (* node_droppable) (
    IdeTreeAddin* self,
    GtkDropTarget* drop_target,
    IdeTreeNode* drop_node,
    GArray* gtypes
  )
 No description available.
node_dropped_async
void (* node_dropped_async) (
    IdeTreeAddin* self,
    GtkDropTarget* drop_target,
    IdeTreeNode* drop_node,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
node_dropped_finish
gboolean (* node_dropped_finish) (
    IdeTreeAddin* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.

Virtual methods

Ide.TreeAddin.build_children
No description available.

Ide.TreeAddin.build_children_async

This function is called when building the children of a node. This happens when expanding an node that might have children, or building the root node.

Ide.TreeAddin.build_children_finish

Completes an asynchronous request to ide_tree_addin_build_children_async().

Ide.TreeAddin.build_node

This function is called when preparing a node for display in the tree.

Ide.TreeAddin.load
No description available.

Ide.TreeAddin.node_activated
No description available.

Ide.TreeAddin.node_collapsed
No description available.

Ide.TreeAddin.node_draggable

Checks if a node is draggable.

since: 44

Ide.TreeAddin.node_droppable

Determines if drop_node is a droppable for drop_target.

since: 44

Ide.TreeAddin.node_dropped_async
No description available.

Ide.TreeAddin.node_dropped_finish
No description available.

Ide.TreeAddin.node_expanded
No description available.

Ide.TreeAddin.selection_changed
No description available.

Ide.TreeAddin.unload
No description available.