wx.lib.agw.labelbook.ImageContainer¶Base class for FlatImageBook image container.
Methods Summary¶__init__ |
Default class constructor. |
CanDoBottomStyle |
Allows the parent to examine the children type. Some implementation |
OnEraseBackground |
Handles the wx.EVT_ERASE_BACKGROUND event for wx.ImageContainer. |
OnMouseLeaveWindow |
Handles the wx.EVT_LEAVE_WINDOW event for wx.ImageContainer. |
OnMouseLeftDown |
Handles the wx.EVT_LEFT_DOWN event for wx.ImageContainer. |
OnMouseLeftUp |
Handles the wx.EVT_LEFT_UP event for wx.ImageContainer. |
OnMouseMove |
Handles the wx.EVT_MOTION event for wx.ImageContainer. |
OnPaint |
Handles the wx.EVT_PAINT event for wx.ImageContainer. |
OnSize |
Handles the wx.EVT_SIZE event for wx.ImageContainer. |
Class API¶ImageContainer(ImageContainerBase)¶Base class for FlatImageBook image container.
__init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, agwStyle=0, name="ImageContainer")¶Default class constructor.
| Parameters: |
|
|---|
CanDoBottomStyle(self)¶Allows the parent to examine the children type. Some implementation
(such as LabelBook), does not support top/bottom images, only left/right.
OnEraseBackground(self, event)¶Handles the wx.EVT_ERASE_BACKGROUND event for wx.ImageContainer.
| Parameters: | event – a EraseEvent event to be processed. |
|---|
OnMouseLeaveWindow(self, event)¶Handles the wx.EVT_LEAVE_WINDOW event for wx.ImageContainer.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
OnMouseLeftDown(self, event)¶Handles the wx.EVT_LEFT_DOWN event for wx.ImageContainer.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
OnMouseLeftUp(self, event)¶Handles the wx.EVT_LEFT_UP event for wx.ImageContainer.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
OnMouseMove(self, event)¶Handles the wx.EVT_MOTION event for wx.ImageContainer.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
OnPaint(self, event)¶Handles the wx.EVT_PAINT event for wx.ImageContainer.
| Parameters: | event – a PaintEvent event to be processed. |
|---|
OnSize(self, event)¶Handles the wx.EVT_SIZE event for wx.ImageContainer.
| Parameters: | event – a wx.SizeEvent event to be processed. |
|---|