.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.art.img2pyartprov

.. highlight:: python



.. _wx.lib.art.img2pyartprov.Img2PyArtProvider:

==========================================================================================================================================
|phoenix_title|  **wx.lib.art.img2pyartprov.Img2PyArtProvider**
==========================================================================================================================================

wxArtProvider class is used to customize the look of wxWidgets
application.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>Img2PyArtProvider</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.art.img2pyartprov.Img2PyArtProvider_inheritance.svg" alt="Inheritance diagram of Img2PyArtProvider" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.art.img2pyartprov.Img2PyArtProvider.html" title="wxArtProvider class is used to customize the look of wxWidgets" alt="" coords="5,159,339,188"/> <area shape="rect" id="node2" href="wx.ArtProvider.html" title="wx.ArtProvider  class is used to customize the look of wxWidgets application." alt="" coords="106,82,239,111"/> <area shape="rect" id="node3" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="123,5,222,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|super_classes| Known Superclasses
==================================

:class:`wx.ArtProvider`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.art.img2pyartprov.Img2PyArtProvider.__init__`                     Initialize self.  See help(type(self)) for accurate signature.
:meth:`~wx.lib.art.img2pyartprov.Img2PyArtProvider.CreateBitmap`                 CreateBitmap(id, client, size) -> Bitmap
:meth:`~wx.lib.art.img2pyartprov.Img2PyArtProvider.GenerateArtIdList`            
:meth:`~wx.lib.art.img2pyartprov.Img2PyArtProvider.UpdateFromImageModule`        
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: Img2PyArtProvider(wx.ArtProvider)

   wxArtProvider class is used to customize the look of wxWidgets
   application.

   .. method:: __init__(self, imageModule, artIdPrefix='wxART_')

      Initialize self.  See help(type(self)) for accurate signature.


   .. method:: CreateBitmap(self, artId, artClient, size)

      CreateBitmap(id, client, size) -> Bitmap
      
      Derived art provider classes may override this method to create
      requested art resource.


   .. method:: GenerateArtIdList(self)


   .. method:: UpdateFromImageModule(self, imageModule)


