St.IconInfo
Description: Reference for St.IconInfo

### Class

# StIconInfo

#### Description

    final class St.IconInfo : GObject.Object
    {
      /* No available fields */
    }

No description available.

#### Ancestors

- GObject

#### Constructors

###### st_icon_info_new_for_pixbuf

Creates a `StIconInfo` for a `GdkPixbuf`.

#### Instance methods

###### st_icon_info_get_base_scale

Gets the base scale for the icon.

###### st_icon_info_get_base_size

Gets the base size for the icon.

###### st_icon_info_get_filename

Gets the filename for the icon.

###### st_icon_info_is_symbolic

Checks if the icon is symbolic or not.

###### st_icon_info_load_icon

Renders an icon previously looked up in an icon theme using `st_icon_theme_lookup_icon()`; the size will be based on the size passed to `st_icon_theme_lookup_icon()`. Note that the resulting pixbuf may not be exactly this size; an icon theme may have icons that differ slightly from their nominal sizes, and in addition GTK+ will avoid scaling icons that it considers sufficiently close to the requested size or for which the source image would have to be scaled up too far. (This maintains sharpness.). This behaviour can be changed by passing the `ST_ICON_LOOKUP_FORCE_SIZE` flag when obtaining the `StIconInfo`. If this flag has been specified, the pixbuf returned by this function will be scaled to the exact size.

###### st_icon_info_load_icon_async

Asynchronously load, render and scale an icon previously looked up from the icon theme using `st_icon_theme_lookup_icon()`.

###### st_icon_info_load_icon_finish

Finishes an async icon load, see st_icon_info_load_icon_async().

###### st_icon_info_load_symbolic

Loads an icon, modifying it to match the system colours for the foreground, success, warning and error colors provided. If the icon is not a symbolic one, the function will return the result from `st_icon_info_load_icon()`.

###### st_icon_info_load_symbolic_async

Asynchronously load, render and scale a symbolic icon previously looked up from the icon theme using `st_icon_theme_lookup_icon()`.

###### st_icon_info_load_symbolic_finish

Finishes an async icon load, see st_icon_info_load_symbolic_async().

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct StIconInfoClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.