Interface
IdeCommand
Prerequisite
In order to implement Command, your type must inherit from
IdeObject
.
Instance methods
ide_command_get_icon
Gets the icon for the command to be displayed in UI if necessary.
Available since: 3.34
Interface structure
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
);
gint (* get_priority) (
IdeCommand* self
);
GIcon* (* get_icon) (
IdeCommand* self
);
}
Interface members
parent_iface |
|
No description available. | |
get_title |
|
No description available. | |
get_subtitle |
|
No description available. | |
run_async |
|
No description available. | |
run_finish |
|
No description available. | |
get_priority |
|
No description available. | |
get_icon |
|
No description available. |
Virtual methods
Ide.Command.get_icon
Gets the icon for the command to be displayed in UI if necessary.
Ide.Command.get_priority
Gets the priority for the command.
Ide.Command.get_subtitle
Gets the subtitle for the command.
Ide.Command.get_title
Gets the title for the command.
Ide.Command.run_async
Runs the command, asynchronously.
Ide.Command.run_finish
No description available.