AGW Logo

agw_title 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 Description

Despite what the name may imply, it is not the top-level control for creating a ribbon interface - that is 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 (DrawButtonBarBackground and DrawToolBarBackground typically just redraw what is behind the rectangle being painted) if you want transparent regions.

Module author: Andrea Gavana <>

hierarchy Inheritance Diagram

Inheritance diagram for module: ribbon.control

Inheritance diagram of ribbon.control.RibbonControl

svn_main SVN Revisions

A graphical representation of the SVN commits in the last year.

Click on any date in the picture to jump to that particular revision page, containing information about committers, log messages and SVN diffs.


Revision Graph For control

2to3 Python 3 Issues (via 2to3)

No issues have been detected by

Table Of Contents

Previous topic

SVN Revision 69086 For buttonbar

Next topic