.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.lib.agw.flatmenu
.. highlight:: python
.. _wx.lib.agw.flatmenu.FMRendererVista:
==========================================================================================================================================
|phoenix_title| **wx.lib.agw.flatmenu.FMRendererVista**
==========================================================================================================================================
Windows Vista-like style.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
FMRendererVista:
|
|super_classes| Known Superclasses
==================================
:class:`wx.lib.agw.flatmenu.FMRendererMSOffice2007`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.agw.flatmenu.FMRendererVista.__init__` Default class constructor.
:meth:`~wx.lib.agw.flatmenu.FMRendererVista.DrawButtonColour` Draws a button using the Vista theme.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: FMRendererVista(FMRendererMSOffice2007)
Windows Vista-like style.
.. method:: __init__(self)
Default class constructor.
.. method:: DrawButtonColour(self, dc, rect, state, colour)
Draws a button using the Vista theme.
:param `dc`: an instance of :class:`wx.DC`;
:param `rect`: the an instance of :class:`wx.Rect`, representing the button client rectangle;
:param integer `state`: the button state;
:param `colour`: a valid :class:`wx.Colour` instance.