GObject.Object
Gio.EmblemedIcon
| Import line: | Gio = imports.gi.Gio; |
| GIR File: | Gio-2.0.gir |
| C documentation: | GEmblemedIcon |
| Class : | EmblemedIcon |
| Implements: | Gio.Icon |
| Extends: | GObject.Object |
| Properties | Defined By | |
|---|---|---|
|
gicon : Gio.Icon
|
Gio.EmblemedIcon | |
|
parent_instance : GObject.Object
read only
|
Gio.EmblemedIcon | |
|
priv : Gio.EmblemedIconPrivate
read only
|
Gio.EmblemedIcon | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new Gio.EmblemedIcon
(Object properties)
Create a new Gio.EmblemedIcon
Create a new Gio.EmblemedIcon
|
||
|
Creates a new emblemed icon for icon with the emblem emblem.
Creates a new emblemed icon for icon with the emblem emblem.
|
Gio.EmblemedIcon | |
|
add_emblem
(Emblem emblem)
:
none
Adds emblem to the GList of GEmblem s.
Adds emblem to the GList of GEmblem s.
|
Gio.EmblemedIcon | |
|
clear_emblems
()
:
none
Removes all the emblems from icon.
Removes all the emblems from icon.
|
Gio.EmblemedIcon | |
| Gio.Icon | ||
|
get_emblems
()
:
Array
Gets the list of emblems for the icon.
Gets the list of emblems for the icon.
GEmblem s that is owned by emblemed
|
Gio.EmblemedIcon | |
|
get_icon
()
:
Gio.Icon
Gets the main icon for emblemed.
Gets the main icon for emblemed.
|
Gio.EmblemedIcon | |
|
to_string
()
:
String
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.
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 g_icon_new_for_string() to get icon back from the returned string. The encoding of the returned string is proprietary to GIcon except in the following two cases If icon is a GFileIcon, the returned string is a native path (such as if the GFile for icon is a native file. If the file is not native, the returned string is the result of g_file_get_uri() (such as If icon is a GThemedIcon with exactly one name, the encoding is simply the name (such as be serialized. Use g_free() to free.
|
Gio.Icon | |
| None |