Ide.Command.get_icon

### Method

# Ide Commandget_icon

#### Declaration

    GIcon*
    ide_command_get_icon (
      IdeCommand* self
    )

#### Description

Gets the icon for the command to be displayed in UI if necessary.

Available since: | 3.34

#### Return value

Returns: | `GIcon`
| A `GIcon` or `NULL`.
| The caller of the method takes ownership of the data, and is responsible for freeing it.
| The return value can be `NULL`.