.. include:: headings.inc .. module:: lib.art.img2pyartprov .. currentmodule:: lib.art.img2pyartprov .. highlight:: python .. _lib.art.img2pyartprov: ========================================================================================================================================== |phoenix_title| **img2pyartprov** ========================================================================================================================================== ArtProvider class that publishes images from modules generated by img2py. Image modules must be generated with the -u and -n parameters. 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: >>> wx.ArtProvider.GetBitmap('wxART_MYIMAGE') | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for module **img2pyartprov** .. raw:: html

Inheritance diagram of img2pyartprov

| |class_summary| Classes Summary =============================== ================================================================================ ================================================================================ :ref:`lib.art.img2pyartprov.Img2PyArtProvider` ================================================================================ ================================================================================ | .. toctree:: :maxdepth: 1 :hidden: lib.art.img2pyartprov.Img2PyArtProvider