| Top |
| gchar * | ide_command_get_title () |
| gchar * | ide_command_get_subtitle () |
| void | ide_command_run_async () |
| gboolean | ide_command_run_finish () |
gchar *
ide_command_get_title (IdeCommand *self);
Gets the title for the command.
Since: 3.32
gchar *
ide_command_get_subtitle (IdeCommand *self);
Gets the subtitle for the command.
Since: 3.32
void ide_command_run_async (IdeCommand *self,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Runs the command, asynchronously.
Use ide_command_run_finish() to get the result of the operation.
self |
an IdeCommand |
|
cancellable |
a GCancellable. |
[nullable] |
callback |
a GAsyncReadyCallback to execute upon completion |
|
user_data |
closure data for |
Since: 3.32
gboolean ide_command_run_finish (IdeCommand *self,GAsyncResult *result,GError **error);
self |
an IdeCommand |
|
result |
a GAsyncResult provided to callback |
|
error |
a location for a GError, or |
Since: 3.32
struct IdeCommandInterface {
GTypeInterface parent_iface;
gchar *(*get_title) (IdeCommand *self);
gchar *(*get_subtitle) (IdeCommand *self);
void (*run_async) (IdeCommand *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*run_finish) (IdeCommand *self,
GAsyncResult *result,
GError **error);
};