X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed2de217c664647c9a2d5b453cb80c7245a7d04b..576f712776551bc0261005ff7a8c508d37481baa:/wxPython/src/_artprov.i diff --git a/wxPython/src/_artprov.i b/wxPython/src/_artprov.i index afbe69738a..3b413e0172 100644 --- a/wxPython/src/_artprov.i +++ b/wxPython/src/_artprov.i @@ -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 -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