Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GIcon |
Interface : | Icon |
Implementations: | GdkPixbuf.Pixbuf, Gio.Emblem, Gio.EmblemedIcon, Gio.FileIcon, Gio.ThemedIcon |
None |
Method / Constructor | Defined By | |
---|---|---|
Gio.Icon | ||
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 |
---|---|
Gdk.AppLaunchContext
Method |
set_icon
(Icon icon)
:
none
Sets the icon for applications that are launched with this
context. |
Gio
Method |
Gets the icon for a content type.
|
Gio
Method |
Generate a GIcon instance from str.
|
Gio
Method |
Guesses the icon of a Unix mount.
|
Gio.AppInfo
Method |
get_icon
()
:
Gio.Icon
Gets the icon for the application.
|
Gio.Drive
Method |
get_icon
()
:
Gio.Icon
Gets the icon for drive.
|
Gio.Emblem
Method |
Create a new Gio.Emblem
|
Gio.Emblem
Method |
Create a new Gio.Emblem
|
Gio.Emblem
Method |
get_icon
()
:
Gio.Icon
Gives back the icon from emblem.
|
Gio.EmblemedIcon
Property |
gicon : Gio.Icon
|
Gio.EmblemedIcon
Method |
Creates a new emblemed icon for icon with the emblem emblem.
|
Gio.EmblemedIcon
Method |
get_icon
()
:
Gio.Icon
Gets the main icon for emblemed.
|
Gio.File
Method |
icon_new
()
:
Gio.Icon
Creates a new icon for a file.
|
Gio.FileInfo
Method |
get_icon
()
:
Gio.Icon
Gets the icon for a file.
|
Gio.FileInfo
Method |
set_icon
(Icon icon)
:
none
Sets the icon for a given GFileInfo.
|
Gio.Mount
Method |
get_icon
()
:
Gio.Icon
Gets the icon for mount.
|
Gio.ThemedIcon
Method |
Creates a new themed icon for iconname.
|
Gio.ThemedIcon
Method |
Creates a new themed icon for iconnames.
|
Gio.ThemedIcon
Method |
Creates a new themed icon for iconname, and all the names
that can be created by shortening iconname at '-' characters. |
Gio.UnixMountPoint
Method |
guess_icon
()
:
Gio.Icon
Guesses the icon of a Unix mount point.
|
Gio.Volume
Method |
get_icon
()
:
Gio.Icon
Gets the icon for volume.
|
Gtk.Action
Property |
gicon : Gio.Icon
The GIcon displayed in the GtkAction.
|
Gtk.Action
Method |
get_gicon
()
:
Gio.Icon
Gets the gicon of action.
|
Gtk.Action
Method |
set_gicon
(Icon icon)
:
none
Sets the icon of action.
|
Gtk.AppChooserButton
Method |
Appends a custom item to the list of applications that is shown
in the popup; the item name must be unique per-widget. |
Gtk.CellRendererPixbuf
Property |
gicon : Gio.Icon
The GIcon representing the icon to display.
|
Gtk.Entry
Property |
primary_icon_gicon : Gio.Icon
The GIcon to use for the primary icon for the entry.
|
Gtk.Entry
Property |
secondary_icon_gicon : Gio.Icon
The GIcon to use for the secondary icon for the entry.
|
Gtk.Entry
Method |
get_icon_gicon
(EntryIconPosition icon_pos)
:
Gio.Icon
Retrieves the GIcon used for the icon, or NULL if there is
no icon or if the icon was set by some other method (e.g. |
Gtk.Entry
Method |
set_icon_from_gicon
(EntryIconPosition icon_pos, Icon icon)
:
none
Sets the icon shown in the entry at the specified position
from the current icon theme. |
Gtk.IconTheme
Method |
Looks up an icon and returns a structure containing
information such as the filename of the icon. |
Gtk.Image
Property |
gicon : Gio.Icon
The GIcon displayed in the GtkImage.
|
Gtk.Image
Method |
Create a new Gtk.Image
|
Gtk.Image
Method |
get_gicon
()
:
Object
Gets the GIcon and size being displayed by the GtkImage.
|
Gtk.Image
Method |
See gtk_image_new_from_gicon() for details.
|
Gtk.NumerableIcon
Property |
background_icon : Gio.Icon
|
Gtk.NumerableIcon
Method |
Creates a new unthemed GtkNumerableIcon.
|
Gtk.NumerableIcon
Method |
Creates a new GtkNumerableIcon which will themed according
to the passed GtkStyleContext. |
Gtk.NumerableIcon
Method |
get_background_gicon
()
:
Gio.Icon
Returns the GIcon that was set as the base background image, or
NULL if there's none. |
Gtk.NumerableIcon
Method |
set_background_gicon
(Icon icon)
:
none
Updates the icon to use icon as the base background image.
|
Gtk.RecentInfo
Method |
get_gicon
()
:
Gio.Icon
Retrieves the icon associated to the resource MIME type.
|
Gtk.StatusIcon
Property |
gicon : Gio.Icon
The GIcon displayed in the GtkStatusIcon.
|
Gtk.StatusIcon
Method |
Create a new Gtk.StatusIcon
|
Gtk.StatusIcon
Method |
get_gicon
()
:
Gio.Icon
Retrieves the GIcon being displayed by the GtkStatusIcon.
|
Gtk.StatusIcon
Method |
set_from_gicon
(Icon icon)
:
none
Makes status_icon display the GIcon.
|
Gtk.Tooltip
Method |
Sets the icon of the tooltip (which is in front of the text)
to be the icon indicated by gicon with the size indicated by size. |
GtkSource.GutterRendererPixbuf
Property |
gicon : Gio.Icon
|
GtkSource.GutterRendererPixbuf
Method |
get_gicon
()
:
Gio.Icon
|
GtkSource.GutterRendererPixbuf
Method |
set_gicon
(Icon icon)
:
none
|
GtkSource.MarkAttributes
Property |
gicon : Gio.Icon
|
GtkSource.MarkAttributes
Method |
get_gicon
()
:
Gio.Icon
|
GtkSource.MarkAttributes
Method |
set_gicon
(Icon gicon)
:
none
|