IconIfaceProxy

Proxy object for Gio.Icon interface when a GObject has no applicable D binding

class IconIfaceProxy : IfaceProxy , Icon {}

Mixed In Members

From mixin IconT!()

equal
bool equal(gio.icon.Icon icon2)

Checks if two icons are equal.

hash
uint hash()

Gets a hash for an icon.

serialize
glib.variant.VariantG serialize()

Serializes a #GIcon into a #GVariant. An equivalent #GIcon can be retrieved back by calling gio.icon.Icon.deserialize on the returned value. As serialization will avoid using raw icon data when possible, it only makes sense to transfer the #GVariant between processes on the same machine, (as opposed to over the network), and within the same file system namespace.

toString_
string toString_()

Generates a textual representation of icon that can be used for serialization such as when passing icon to a different process or saving it to persistent storage. Use gio.icon.Icon.newForString to get icon back from the returned string.

Inherited Members

From Icon

deserialize
gio.icon.Icon deserialize(glib.variant.VariantG value)

Deserializes a #GIcon previously serialized using gio.icon.Icon.serialize.

newForString
gio.icon.Icon newForString(string str)

Generate a #GIcon instance from str. This function can fail if str is not valid - see gio.icon.Icon.toString_ for discussion.

equal
bool equal(gio.icon.Icon icon2)

Checks if two icons are equal.

hash
uint hash()

Gets a hash for an icon.

serialize
glib.variant.VariantG serialize()

Serializes a #GIcon into a #GVariant. An equivalent #GIcon can be retrieved back by calling gio.icon.Icon.deserialize on the returned value. As serialization will avoid using raw icon data when possible, it only makes sense to transfer the #GVariant between processes on the same machine, (as opposed to over the network), and within the same file system namespace.

toString_
string toString_()

Generates a textual representation of icon that can be used for serialization such as when passing icon to a different process or saving it to persistent storage. Use gio.icon.Icon.newForString to get icon back from the returned string.