Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Enums and Flags Properties Author(s) References
An object for emblems
gEmblemNew(icon = NULL, origin = NULL)
gEmblemNewWithOrigin(icon, origin)
gEmblemGetIcon(object)
gEmblemGetOrigin(object)
gEmblem(icon, origin)
1 2 3 4 | GObject
+----GEmblem
GEnum
+----GEmblemOrigin
|
GEmblem implements
GIcon
.
GEmblem
is an implementation of GIcon
that supports
having an emblem, which is an icon with additional properties.
It can than be added to a GEmblemedIcon
.
Currently, only metainformation about the emblem's origin is supported. More may be added in the future.
GEmblem
An object for Emblems
gEmblem
is the result of collapsing the constructors of GEmblem
(gEmblemNew
, gEmblemNewWithOrigin
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.
GEmblemOrigin
GEmblemOrigin is used to add information about the origin of the emblem
to GEmblem
.
Since 2.18
unknown
Emblem of unknown origin
device
Emblem adds device-specific information
livemetadata
Emblem depicts live metadata, such as "readonly"
tag
Emblem comes from a user-defined tag, e.g. set by nautilus (in the future)
icon
[GObject
: * : Read / Write / Construct Only]The actual icon of the emblem.
origin
[GEmblemOrigin
: Read / Write / Construct Only]Tells which origin the emblem is derived from. Default value: G_EMBLEM_ORIGIN_UNKNOWN
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gio/stable/GEmblem.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.