### Interface

# Ide Command

#### Description

    interface Ide.Command : Ide.Object

No description available.

#### 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

###### ide_command_get_priority

Gets the priority for the command.

Available since: 3.34

###### ide_command_get_subtitle

Gets the subtitle for the command.

Available since: 3.32

###### ide_command_get_title

Gets the title for the command.

Available since: 3.32

###### ide_command_run_async

Runs the command, asynchronously.

Available since: 3.32

###### ide_command_run_finish

No description available.

Available since: 3.32

#### 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` |
    GTypeInterface
| No description available.
`get_title` |
    gchar* (* get_title) (
        IdeCommand* self
      )
| No description available.
`get_subtitle` |
    gchar* (* get_subtitle) (
        IdeCommand* self
      )
| No description available.
`run_async` |
    void (* run_async) (
        IdeCommand* self,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`run_finish` |
    gboolean (* run_finish) (
        IdeCommand* self,
        GAsyncResult* result,
        GError** error
      )
| No description available.
`get_priority` |
    gint (* get_priority) (
        IdeCommand* self
      )
| No description available.
`get_icon` |
    GIcon* (* get_icon) (
        IdeCommand* self
      )
| 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.