Top |
Functions
IdeContext * | ide_object_get_context () |
void | ide_object_set_context () |
void | ide_object_new_for_extension_async () |
void | ide_object_new_async () |
IdeObject * | ide_object_new_finish () |
gboolean | ide_object_hold () |
void | ide_object_release () |
void | ide_object_notify_in_main () |
Functions
ide_object_get_context ()
IdeContext *
ide_object_get_context (IdeObject *self
);
Fetches the “context” property.
ide_object_new_for_extension_async ()
void ide_object_new_for_extension_async (GType interface_gtype
,GCompareDataFunc sort_priority_func
,gpointer sort_proirity_data
,int io_priority
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
,const gchar *first_property
,...
);
ide_object_new_async ()
void ide_object_new_async (const gchar *extension_point
,int io_priority
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
,const gchar *first_property
,...
);
ide_object_hold ()
gboolean
ide_object_hold (IdeObject *self
);
This function will acquire a reference to the IdeContext that the object is a part of. This is useful if you are going to be doing a long running task (such as something in a thread) and want to ensure the context cannot be unloaded during your operation.
You should call ide_object_release()
an equivalent number of times to
ensure the context may be freed afterwards.
You should check the return value of this function to ensure that the context is not already in shutdown.
ide_object_release ()
void
ide_object_release (IdeObject *self
);
Releases a successful hold on the context previously created with ide_object_hold()
.