.. 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 .. module:: wx.lib.agw.ribbon.control .. currentmodule:: wx.lib.agw.ribbon.control .. highlight:: python .. _wx.lib.agw.ribbon.control: ========================================================================================================================================== |phoenix_title| **wx.lib.agw.ribbon.control** ========================================================================================================================================== `RibbonControl` serves as a base class for all controls which share the ribbon charactertics of having a ribbon art provider, and (optionally) non-continous resizing. Description =========== Despite what the name may imply, it is not the top-level control for creating a ribbon interface - that is :class:`~wx.lib.agw.ribbon.bar.RibbonBar`. Ribbon controls often have a region which is "transparent", and shows the contents of the ribbon page or panel behind it. If implementing a new ribbon control, then it may be useful to realise that this effect is done by the art provider when painting the background of the control, and hence in the paint handler for the new control, you should call a draw background method on the art provider ( :meth:`RibbonMSWArtProvider.DrawButtonBarBackground() ` and :meth:`RibbonMSWArtProvider.DrawToolBarBackground() ` typically just redraw what is behind the rectangle being painted) if you want transparent regions. |class_summary| Classes Summary =============================== ================================================================================ ================================================================================ `~wx.lib.agw.ribbon.control.RibbonControl` Base class for all the Ribbon stuff. ================================================================================ ================================================================================ | .. toctree:: :maxdepth: 1 :hidden: wx.lib.agw.ribbon.control.RibbonControl