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