GObject.Object
Gio.Emblem
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GEmblem |
Class : | Emblem |
Implements: | Gio.Icon |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
icon : GObject.Object
|
Gio.Emblem | |
origin : Gio.EmblemOrigin
|
Gio.Emblem |
Method / Constructor | Defined By | |
---|---|---|
new Gio.Emblem
(Object properties)
Create a new Gio.Emblem
Create a new Gio.Emblem
|
||
Create a new Gio.Emblem
Create a new Gio.Emblem
|
||
Create a new Gio.Emblem
Create a new Gio.Emblem
|
||
Gio.Icon | ||
get_icon
()
:
Gio.Icon
Gives back the icon from emblem.
Gives back the icon from emblem.
the emblem and should not be modified or freed.
|
Gio.Emblem | |
get_origin
()
:
Gio.EmblemOrigin
Gets the origin of the emblem.
Gets the origin of the emblem.
|
Gio.Emblem | |
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 |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.EmblemedIcon
Method |
Creates a new emblemed icon for icon with the emblem emblem.
|
Gio.EmblemedIcon
Method |
add_emblem
(Emblem emblem)
:
none
Adds emblem to the GList of GEmblem s.
|