Gio.IconIface

Fields

Name

Type

Access

Description

equal

object

r

Checks if two Gio.Icons are equal.

from_tokens

object

r

Constructs a Gio.Icon from tokens. Set the GLib.Error if the tokens are malformed. Don’t implement if the Gio.Icon can’t be serialized

g_iface

GObject.TypeInterface

r

The parent interface.

hash

object

r

A hash for a given Gio.Icon.

serialize

object

r

Serializes a Gio.Icon into a GLib.Variant.

to_tokens

object

r

Serializes a Gio.Icon into tokens. The tokens must not contain any whitespace. Don’t implement if the Gio.Icon can’t be serialized

Methods

None

Details

class Gio.IconIface

Gio.IconIface is used to implement Gio.Icon types for various different systems. See Gio.ThemedIcon and Gio.LoadableIcon for examples of how to implement this interface.