.. 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



.. _wx.VisualAttributes:

==========================================================================================================================================
|phoenix_title|  **wx.VisualAttributes**
==========================================================================================================================================

Struct containing all the visual attributes of a control. 
          




|

|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>VisualAttributes</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.VisualAttributes_inheritance.svg" alt="Inheritance diagram of VisualAttributes" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.VisualAttributes.html" title="Struct containing all the visual attributes of a control." alt="" coords="5,5,169,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|property_summary| Properties Summary
=====================================

================================================================================ ================================================================================
:attr:`~wx.VisualAttributes.colBg`                                               A public C++ attribute of type `~wx.Colour`     . The background colour. 
                 
:attr:`~wx.VisualAttributes.colFg`                                               A public C++ attribute of type `~wx.Colour`     . The foreground colour. 
                 
:attr:`~wx.VisualAttributes.font`                                                A public C++ attribute of type `~wx.Font`     . The font used for control label/text inside it. 
                 
================================================================================ ================================================================================


|


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


.. class:: wx.VisualAttributes(object)

   Struct containing all the visual attributes of a control.



   .. attribute:: colBg

      A public C++ attribute of type `~wx.Colour`     . The background colour. 
                 


   .. attribute:: colFg

      A public C++ attribute of type `~wx.Colour`     . The foreground colour. 
                 


   .. attribute:: font

      A public C++ attribute of type `~wx.Font`     . The font used for control label/text inside it. 
                 

