wx.lib.agw.ribbon.page.RibbonPageScrollButton¶
Base class for all the Ribbon stuff.
Class Hierarchy¶
Known Superclasses¶
wx.lib.agw.ribbon.control.RibbonControl
Methods Summary¶
Default class constructor. |
|
Class API¶
- class RibbonPageScrollButton(RibbonControl)¶
Base class for all the Ribbon stuff.
Methods¶
- __init__(self, sibling, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0)¶
Default class constructor.
- Parameters:
parent (wx.Window) – pointer to a parent window;
id (integer) – window identifier. If
wx.ID_ANY
, will automatically create an identifier;pos (tuple or
wx.Point
) – window position.wx.DefaultPosition
indicates that wxPython should generate a default position for the window;size (tuple or
wx.Point
) – window size.wx.DefaultSize
indicates that wxPython should generate a default size for the window. If no suitable size can be found, the window will be sized to 20x20 pixels so that the window is visible but obviously not correctly sized;style (integer) – the window style;
validator (wx.Validator) – window validator;
name (string) – window name.
- OnEraseBackground(self, event)¶
- OnMouseDown(self, event)¶
- OnMouseEnter(self, event)¶
- OnMouseLeave(self, event)¶
- OnMouseUp(self, event)¶
- OnPaint(self, event)¶