From cc9864de0a55723577d3fbe8b04d36f69fc35a22 Mon Sep 17 00:00:00 2001 From: Gian Mario Tagliaretti Date: Mon, 9 Mar 2009 21:17:12 +0000 Subject: Add gio.Emblem and constants in docs. 2009-03-09 Gian Mario Tagliaretti * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-constants.xml: * docs/reference/pygio-emblem.xml: Add gio.Emblem and constants in docs. svn path=/trunk/; revision=1025 --- docs/reference/pygio-emblem.xml | 176 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 docs/reference/pygio-emblem.xml (limited to 'docs/reference/pygio-emblem.xml') diff --git a/docs/reference/pygio-emblem.xml b/docs/reference/pygio-emblem.xml new file mode 100644 index 0000000..f8f4de3 --- /dev/null +++ b/docs/reference/pygio-emblem.xml @@ -0,0 +1,176 @@ + + + + + + gio.Emblem + An object for emblems. + + + + Synopsis + + + gio.Emblem + gobject.GObject + gio.Icon + + + gio.Emblem + icon + + + + get_icon + + + + get_origin + + + + + + +Functions + + + gio.emblem_new_with_origin + origin + + + + + + Ancestry + ++-- gobject.GObject + +-- gio.Emblem + + + + + + Description + + + The gio.Emblem + class is an implementation of gio.Icon + that supports having an emblem, which is an icon with additional properties. + It can than be added to a + gio.EmblemedIcon. + + + Currently, only metainformation about the emblem's origin is supported. + More may be added in the future. + + + + + Constructor + + + gio.Emblem + icon + + + + icon : + a + gio.Icon containing the icon. + + + + Returns : + a new + gio.Emblem. + + + + + + Creates a new gio.Emblem for icon. + + + + + + Methods + + + gio.Emblem.get_icon + + + get_icon + + + + + + Returns : + a + gio.Icon. + + + + + + The get_icon() method gives back the icon from emblem. + + + + + gio.Emblem.get_origin + + + get_origin + + + + + + Returns : + the origin of the emblem. + + + + + + The get_origin() method gets the origin of the emblem. + + + + + + Functions + + + gio.emblem_new_with_origin + + + emblem_new_with_origin + origin + + + + + origin : + a + defining the emblem's origin . + + + + Returns : + A gio.Emblem. + + + + + + The emblem_new_with_origin() function creates + a new emblem for icon. + + + + -- cgit