gio.Emblem(icon
, origin
=gio.EMBLEM_ORIGIN_UNKNOWN)
def get_icon()
def get_origin()
Functions
def gio.emblem_new_with_origin(icon
, origin
)
|
gio.Emblem(icon
, origin
=gio.EMBLEM_ORIGIN_UNKNOWN)
def get_icon()
def get_origin()
Functions
def gio.emblem_new_with_origin(icon
, origin
)
|
The gio.Emblem
class is an implementation of gio.Icon
that supports having an emblem, which is an icon with additional properties.
It can then be added to a
gio.EmblemedIcon
.
Currently, only metainformation about the emblem's origin is supported. More may be added in the future.
gio.Emblem(icon
, origin
=gio.EMBLEM_ORIGIN_UNKNOWN)
| a
gio.Icon containing the icon.
|
| origin of the emblem. |
Returns : | a new
gio.Emblem .
|
origin
is available since PyGObject 2.20.
Creates a new gio.Emblem
for icon.
def get_icon()
Returns : | a
gio.Icon .
|
The get_icon
() method gives back the icon from emblem.
def emblem_new_with_origin(icon
, origin
)
| a Gio Emblem Origin Constants defining the emblem's origin. |
Returns : | A gio.Emblem .
|
The emblem_new_with_origin
() function creates
a new emblem for icon.
© manpagez.com 2000-2024 Individual documents may contain additional copyright information.