Interface
IdeTreeAddin
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().
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 |
|
No description available. | |
load |
|
No description available. | |
unload |
|
No description available. | |
build_node |
|
No description available. | |
build_children |
|
No description available. | |
build_children_async |
|
No description available. | |
build_children_finish |
|
No description available. | |
node_activated |
|
No description available. | |
selection_changed |
|
No description available. | |
node_expanded |
|
No description available. | |
node_collapsed |
|
No description available. | |
node_draggable |
|
No description available. | |
node_droppable |
|
No description available. | |
node_dropped_async |
|
No description available. | |
node_dropped_finish |
|
No description available. |
Virtual methods
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().