mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-10 05:47:09 +01:00
- clean up doc strings
This commit is contained in:
@@ -1 +1,4 @@
|
||||
# package
|
||||
"""
|
||||
Currently provides some flag icons based on:
|
||||
http://www.famfamfam.com/lab/icons/flags
|
||||
"""
|
||||
|
||||
@@ -7,15 +7,15 @@
|
||||
# Copyright: (c) 2006
|
||||
# Licence: wxPython
|
||||
#-----------------------------------------------------------------------------
|
||||
""" ArtProvider class that publishes images from modules generated by img2py.
|
||||
"""ArtProvider class that publishes images from modules generated by img2py.
|
||||
|
||||
Image modules must be generated with the -u and -n <name> parameters.
|
||||
|
||||
Typical usage:
|
||||
Typical usage::
|
||||
>>> import wx, wx.lib.art.img2pyartprov, myimagemodule
|
||||
>>> wx.ArtProvider.PushProvider(wx.lib.art.img2pyartprov.Img2PyArtProvider(myimagemodule))
|
||||
|
||||
If myimagemodule.catalog['MYIMAGE'] is defined, it can be accessed as:
|
||||
If myimagemodule.catalog['MYIMAGE'] is defined, it can be accessed as::
|
||||
>>> wx.ArtProvider.GetBitmap('wxART_MYIMAGE')
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user