From 360f533eb6e244dae4cc748618bd77348f206f46 Mon Sep 17 00:00:00 2001 From: Gian Mario Tagliaretti Date: Mon, 9 Mar 2009 23:35:05 +0000 Subject: Create a dedicated Changelog for the docs and move the latest entries in 2009-03-09 Gian Mario Tagliaretti * docs/reference/Changelog: Create a dedicated Changelog for the docs and move the latest entries in there. 2009-03-09 Gian Mario Tagliaretti * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-emblemedicon.xml: * docs/reference/pygio-icon.xml: * docs/reference/pygio-emblem.xml: Add gio.EmblemedIcon and gio.Icon in docs, fix a couple of typos. svn path=/trunk/; revision=1026 --- ChangeLog | 31 +------ docs/Makefile.am | 6 ++ docs/reference/ChangeLog | 40 +++++++++ docs/reference/pygio-classes.xml | 2 + docs/reference/pygio-emblem.xml | 19 ++-- docs/reference/pygio-emblemedicon.xml | 160 ++++++++++++++++++++++++++++++++++ docs/reference/pygio-icon.xml | 124 ++++++++++++++++++++++++++ 7 files changed, 348 insertions(+), 34 deletions(-) create mode 100644 docs/reference/ChangeLog create mode 100644 docs/reference/pygio-emblemedicon.xml create mode 100644 docs/reference/pygio-icon.xml diff --git a/ChangeLog b/ChangeLog index 79719b8..c5e3b00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,34 +1,7 @@ 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. - -2009-03-08 Gian Mario Tagliaretti - - * docs/reference/pygio-classes.xml: - * docs/reference/pygio-cancellable.xml: Complete cancellable docs. - -2009-03-08 Gian Mario Tagliaretti - - * docs/Makefile.am: - * docs/reference/pygio-classes.xml: - * docs/reference/pygobject-ref.xml: - * docs/reference/pygio-applaunchcontext.xml: - * docs/reference/pygio-cancellable.xml: Add few gio classes. - -2009-03-08 Gian Mario Tagliaretti - - * gio/gio.defs: add g_cancellable_make_pollfd - -2009-03-08 Gian Mario Tagliaretti - - * docs/Makefile.am: - * docs/reference/pyglib-classes.xml - * docs/reference/pygobject-ref.xml - * docs/reference/pygobject-classes.xml: Split glib and gobject - doc sections. + * docs/reference/Changelog: Create a dedicated Changelog for the docs + and move the latest entries in there. 2009-02-20 James Henstridge diff --git a/docs/Makefile.am b/docs/Makefile.am index 9f40a4d..f7077e8 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -17,6 +17,9 @@ HTML_FILES = \ html/gobject-class-reference.html \ html/glib-class-reference.html \ html/gio-applaunchcontext.html \ + html/gio-emblem.html \ + html/gio-emblemedicon.html \ + html/gio-icon.html \ html/gio-constants.html \ html/gio-class-reference.html \ html/gobject-constants.html \ @@ -44,6 +47,9 @@ XML_FILES = \ reference/pyglib-mainloop.xml \ reference/pygio-classes.xml \ reference/pygio-applaunchcontext.xml \ + reference/pygio-emblem.xml \ + reference/pygio-emblemedicon.xml \ + reference/pygio-icon.xml \ reference/pygio-constants.xml XSL_FILES = \ diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog new file mode 100644 index 0000000..8246465 --- /dev/null +++ b/docs/reference/ChangeLog @@ -0,0 +1,40 @@ +2009-03-09 Gian Mario Tagliaretti + + * docs/Makefile.am: + * docs/reference/pygio-classes.xml: + * docs/reference/pygio-emblemedicon.xml: + * docs/reference/pygio-icon.xml: + * docs/reference/pygio-emblem.xml: Add gio.EmblemedIcon and + gio.Icon in docs, fix a couple of typos. + +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. + +2009-03-08 Gian Mario Tagliaretti + + * docs/reference/pygio-classes.xml: + * docs/reference/pygio-cancellable.xml: Complete cancellable docs. + +2009-03-08 Gian Mario Tagliaretti + + * docs/Makefile.am: + * docs/reference/pygio-classes.xml: + * docs/reference/pygobject-ref.xml: + * docs/reference/pygio-applaunchcontext.xml: + * docs/reference/pygio-cancellable.xml: Add few gio classes. + +2009-03-08 Gian Mario Tagliaretti + + * gio/gio.defs: add g_cancellable_make_pollfd + +2009-03-08 Gian Mario Tagliaretti + + * docs/Makefile.am: + * docs/reference/pyglib-classes.xml + * docs/reference/pygobject-ref.xml + * docs/reference/pygobject-classes.xml: Split glib and gobject + doc sections. diff --git a/docs/reference/pygio-classes.xml b/docs/reference/pygio-classes.xml index a830d85..c94cd0f 100644 --- a/docs/reference/pygio-classes.xml +++ b/docs/reference/pygio-classes.xml @@ -10,6 +10,8 @@ + + diff --git a/docs/reference/pygio-emblem.xml b/docs/reference/pygio-emblem.xml index f8f4de3..d76f2d8 100644 --- a/docs/reference/pygio-emblem.xml +++ b/docs/reference/pygio-emblem.xml @@ -17,16 +17,16 @@ gio.Icon - gio.Emblem + gio.Emblem icon - get_icon + get_icon - get_origin + get_origin @@ -50,6 +50,15 @@ + + + Implemented Interfaces + + gio.Emblem + implements + gio.Icon + + Description @@ -98,7 +107,7 @@ Methods - + gio.Emblem.get_icon @@ -120,7 +129,7 @@ - + gio.Emblem.get_origin diff --git a/docs/reference/pygio-emblemedicon.xml b/docs/reference/pygio-emblemedicon.xml new file mode 100644 index 0000000..f4582b8 --- /dev/null +++ b/docs/reference/pygio-emblemedicon.xml @@ -0,0 +1,160 @@ + + + + + + gio.EmblemedIcon + Icon with emblems. + + + + Synopsis + + + gio.EmblemedIcon + gobject.GObject + gio.Icon + + + gio.EmblemedIcon + icon + emblem + + + + + add_emblem + emblem + + + 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 + + + add_emblem + emblem + + + + + emblem : + a + gio.Emblem + + + + + + The add_emblem() method adds emblem to the + list of gio.Emblems. + + + + + gio.EmblemedIcon.get_icon + + + get_icon + + + + + + Returns : + a + gio.Icon + that is owned by emblemed. + + + + + + The get_icon() method gets the main icon for emblemed. + + + + diff --git a/docs/reference/pygio-icon.xml b/docs/reference/pygio-icon.xml new file mode 100644 index 0000000..607dad3 --- /dev/null +++ b/docs/reference/pygio-icon.xml @@ -0,0 +1,124 @@ + + + + + + gio.Icon + Interface for icons. + + + + Synopsis + + + gio.Icon + gobject.GInterface + + + equal + icon2 + + + + + + + + Ancestry + ++-- gobject.GInterface + +-- gio.Icon + + + + + + Known Derived Interfaces + + gio.Icon is required by + gio.LoadableIcon. + + + + + Known Implementation + + gio.Icon is implemented by + gio.ThemedIcon, + gio.FileIcon, + gio.Emblem, + gio.EmblemedIcon. + + + + + Description + + + gio.Icon + is a very minimal interface for icons. It provides functions for checking + the equality of two icons, hashing of icons and serializing an icon to and from strings. + + + gio.Icon + does not provide the actual pixmap for the icon as this is out of GIO's + scope, however implementations of + gio.Icon + may contain the name of an icon (see + gio.ThemedIcon), + or the path to an icon (see + gio.LoadableIcon). + + + + To check if two GIcons are equal, see + gio.Icon.equal(). + + + + + + Methods + + + gio.Emblem.equal + + + equal + icon2 + + + + + icon2 : + the second + gio.Icon + + + + + + The equal() method checks if two icons are equal. + + + + -- cgit