Method
IdeTreeAddinbuild_children_async
Declaration
void
ide_tree_addin_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:
IdeTreeNodeA
IdeTreeNode.The data is owned by the caller of the method. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackorNULL.The argument can be NULL. user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the method.