doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d9975a314d
commit
07faea2800
@ -131,9 +131,18 @@ Identifying art resources
|
|||||||
Every bitmap is known to wx.ArtProvider under an unique ID that is
|
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
|
used when requesting a resource from it. The IDs can have one of the
|
||||||
following predefined values. Additionally, any string recognized by
|
following predefined values. Additionally, any string recognized by
|
||||||
custom art providers registered using `PushProvider` may be used. When
|
custom art providers registered using `PushProvider` may be used.
|
||||||
running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be
|
|
||||||
used as well.
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user