]> git.saurik.com Git - wxWidgets.git/commitdiff
doc updates
authorRobin Dunn <robin@alldunn.com>
Wed, 1 Sep 2004 19:29:13 +0000 (19:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 1 Sep 2004 19:29:13 +0000 (19:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_artprov.i

index afbe69738aaed1fa2db55b5e7dd2b31c442db73b..3b413e0172974f1cefd8ebd23731fe755e4215a5 100644 (file)
@@ -131,9 +131,18 @@ Identifying art resources
 Every bitmap is known to wx.ArtProvider under an unique ID that is
 used when requesting a resource from it. The IDs can have one of the
 following predefined values.  Additionally, any string recognized by
 Every bitmap is known to wx.ArtProvider under an unique ID that is
 used when requesting a resource from it. The IDs can have one of the
 following predefined values.  Additionally, any string recognized by
-custom art providers registered using `PushProvider` may be used. When
-running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be
-used as well.
+custom art providers registered using `PushProvider` may be used.
+
+GTK+ Note
+---------
+
+When running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be used
+as well.  Additionally, if wxGTK was compiled against GTK+ >= 2.4, then it is
+also possible to load icons from current icon theme by specifying their name
+without the extension and directory components. Icon themes recognized by GTK+
+follow the freedesktop.org Icon Themes specification.  Note that themes are
+not guaranteed to contain all icons, so wx.ArtProvider may return wx.NullBitmap
+or wx.NullIcon.  The default theme is typically installed in /usr/share/icons/hicolor.
 
 
     * wx.ART_ADD_BOOKMARK
 
 
     * wx.ART_ADD_BOOKMARK