Top | ![]() |
![]() |
![]() |
![]() |
void ide_command_provider_load_shortcuts (IdeCommandProvider *self
,IdeWorkspace *workspace
);
void ide_command_provider_unload_shortcuts (IdeCommandProvider *self
,IdeWorkspace *workspace
);
void ide_command_provider_query_async (IdeCommandProvider *self
,IdeWorkspace *workspace
,const gchar *typed_text
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
GPtrArray * ide_command_provider_query_finish (IdeCommandProvider *self
,GAsyncResult *result
,GError **error
);
Completes an asynchronous request to locate all the commands matching the users typed text.
Since: 3.32
IdeCommand * ide_command_provider_get_command_by_id (IdeCommandProvider *self
,IdeWorkspace *workspace
,const gchar *command_id
);
Looks for a command by command_id
and returns it if found.
Since: 3.34
struct IdeCommandProviderInterface { GTypeInterface parent_iface; void (*query_async) (IdeCommandProvider *self, IdeWorkspace *workspace, const gchar *typed_text, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); GPtrArray *(*query_finish) (IdeCommandProvider *self, GAsyncResult *result, GError **error); IdeCommand *(*get_command_by_id) (IdeCommandProvider *self, IdeWorkspace *workspace, const gchar *command_id); void (*load_shortcuts) (IdeCommandProvider *self, IdeWorkspace *workspace); void (*unload_shortcuts) (IdeCommandProvider *self, IdeWorkspace *workspace); };