manpagez: man pages & more
html files: pygobject
Home | html | info | man
): gio.EmblemedIcon(icon, emblem)
def add_emblem(emblem)
def get_icon()

Ancestry

+-- gobject.GObject
  +-- gio.EmblemedIcon

Implemented Interfaces

gio.EmblemedIcon implements gio.Icon

Description

The gio.EmblemedIcon class is an implementation of gio.Icon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via gio.EmblemedIcon.add_emblem().

Note that gio.EmblemedIcon allows no control over the position of the emblems. See also gio.Emblem for more information.

Constructor

    gio.EmblemedIcon(icon, emblem)

icon :

a gio.Icon.

emblem :

a gio.Emblem.

Returns :

a new gio.Icon.

Creates a new gio.Icon for icon with the emblem emblem.

Methods

gio.EmblemedIcon.add_emblem

    def add_emblem(emblem)

emblem :

a gio.Emblem

The add_emblem() method adds emblem to the list of gio.Emblems.

gio.EmblemedIcon.get_icon

    def get_icon()

Returns :

a gio.Icon that is owned by emblemed.

The get_icon() method gets the main icon for emblemed.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.