Virtual Method
IdeTreeAddinbuild_children_async
Declaration
void
build_children_async (
IdeTreeAddin* self,
IdeTreeNode* node,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
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.
You may want to use ide_tree_node_holds()
to determine if the node
contains an item that you are interested in.
This function will call the synchronous form of IdeTreeAddin.build_children() if no asynchronous form is available.
Parameters
node
-
Type:
IdeTreeNode
A
IdeTreeNode
.The data is owned by the caller of the function. cancellable
-
Type:
GCancellable
A
GCancellable
orNULL
.The argument can be NULL
.The data is owned by the caller of the function. callback
-
Type:
GAsyncReadyCallback
A
GAsyncReadyCallback
orNULL
. user_data
-
Type:
gpointer
User data for
callback
.The argument can be NULL
.The data is owned by the caller of the function.