Interface
IdeCommandProvider
Prerequisite
In order to implement CommandProvider, your type must inherit from
GObject
.
Instance methods
ide_command_provider_get_command_by_id
Looks for a command by command_id
and returns it if found.
Available since: 3.34
ide_command_provider_load_shortcuts
No description available.
ide_command_provider_query_async
No description available.
ide_command_provider_query_finish
Completes an asynchronous request to locate all the commands matching the users typed text.
Available since: 3.32
ide_command_provider_unload_shortcuts
No description available.
Interface structure
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
);
}
Interface members
parent_iface |
|
No description available. | |
query_async |
|
No description available. | |
query_finish |
|
No description available. | |
get_command_by_id |
|
No description available. | |
load_shortcuts |
|
No description available. | |
unload_shortcuts |
|
No description available. |
Virtual methods
Ide.CommandProvider.get_command_by_id
Looks for a command by command_id
and returns it if found.
Ide.CommandProvider.load_shortcuts
No description available.
Ide.CommandProvider.query_async
No description available.
Ide.CommandProvider.query_finish
Completes an asynchronous request to locate all the commands matching the users typed text.
Ide.CommandProvider.unload_shortcuts
No description available.