GObject.Object
Gio.FileIcon
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GFileIcon |
Class : | FileIcon |
Implements: | Gio.Icon, Gio.LoadableIcon |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
file : Gio.File
The file containing the icon.
The file containing the icon.
|
Gio.FileIcon |
Method / Constructor | Defined By | |
---|---|---|
new Gio.FileIcon
(Object properties)
Create a new Gio.FileIcon
Create a new Gio.FileIcon
|
||
Gio.Icon | ||
get_file
()
:
Gio.File
Gets the GFile associated with the given icon.
Gets the GFile associated with the given icon.
|
Gio.FileIcon | |
Loads a loadable icon.
Loads a loadable icon. For the asynchronous version of this function,
see g_loadable_icon_load_async().
|
Gio.LoadableIcon | |
Loads an icon asynchronously.
Loads an icon asynchronously. To finish this function, see
g_loadable_icon_load_finish(). For the synchronous, blocking version of this function, see g_loadable_icon_load().
|
Gio.LoadableIcon | |
Finishes an asynchronous icon load started in g_loadable_icon_load_async().
Finishes an asynchronous icon load started in g_loadable_icon_load_async().
|
Gio.LoadableIcon | |
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 |