Class

AppStreamIcon

Description

class AppStream.Icon : GObject.Object {
  parent_instance: GObject
}
No description available.

Ancestors

Constructors

as_icon_new

Creates a new AsIcon.

Instance methods

as_icon_get_filename
No description available.
as_icon_get_height
No description available.
as_icon_get_kind

Gets the icon kind.

as_icon_get_name
No description available.
as_icon_get_scale
No description available.

Available since: 0.11.0

as_icon_get_url

Gets the icon URL, pointing at a remote location. HTTPS and FTP urls are allowed. This property is only set for icons of type AS_ICON_KIND_REMOTE.

as_icon_get_width
No description available.
as_icon_set_filename

Sets the icon absolute filename.

as_icon_set_height

Sets the icon height.

as_icon_set_kind

Sets the icon kind.

as_icon_set_name

Sets the stock name or basename to use for the icon.

as_icon_set_scale

Sets the icon scaling factor used for HiDPI displays.

Available since: 0.11.0

as_icon_set_url

Sets the icon URL.

as_icon_set_width

Sets the icon width.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject.Object::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 AppStreamIconClass {
  GObjectClass parent_class;
  void (* _as_reserved1) (
void
  );
  void (* _as_reserved2) (
void
  );
  void (* _as_reserved3) (
void
  );
  void (* _as_reserved4) (
void
  );
  void (* _as_reserved5) (
void
  );
  void (* _as_reserved6) (
void
  );
  
}
Class members
parent_class
GObjectClass
  No description available.
_as_reserved1
void (* _as_reserved1) (
void
  )
  No description available.
_as_reserved2
void (* _as_reserved2) (
void
  )
  No description available.
_as_reserved3
void (* _as_reserved3) (
void
  )
  No description available.
_as_reserved4
void (* _as_reserved4) (
void
  )
  No description available.
_as_reserved5
void (* _as_reserved5) (
void
  )
  No description available.
_as_reserved6
void (* _as_reserved6) (
void
  )
  No description available.