AuiTabCtrl¶This is an actual Window - derived window which can be used as a tab control in the normal sense.
Methods Summary¶| __init__ | Default class constructor. |
| DoGetBestSize | Gets the size which best suits the window: for a control, it would be the |
| GetDefaultBorder | Returns the default border style for AuiTabCtrl. |
| IsDragging | Returns whether the user is dragging a tab with the mouse or not. |
| OnButton | Handles the EVT_AUINOTEBOOK_BUTTON event for AuiTabCtrl. |
| OnCaptureLost | Handles the EVT_MOUSE_CAPTURE_LOST event for AuiTabCtrl. |
| OnEraseBackground | Handles the EVT_ERASE_BACKGROUND event for AuiTabCtrl. |
| OnKeyDown | Handles the EVT_KEY_DOWN event for AuiTabCtrl. |
| OnKeyDown2 | Handles the EVT_KEY_DOWN event for AuiTabCtrl. |
| OnKillFocus | Handles the EVT_KILL_FOCUS event for AuiTabCtrl. |
| OnLeaveWindow | Handles the EVT_LEAVE_WINDOW event for AuiTabCtrl. |
| OnLeftDClick | Handles the EVT_LEFT_DCLICK event for AuiTabCtrl. |
| OnLeftDown | Handles the EVT_LEFT_DOWN event for AuiTabCtrl. |
| OnLeftUp | Handles the EVT_LEFT_UP event for AuiTabCtrl. |
| OnMiddleDown | Handles the EVT_MIDDLE_DOWN event for AuiTabCtrl. |
| OnMiddleUp | Handles the EVT_MIDDLE_UP event for AuiTabCtrl. |
| OnMotion | Handles the EVT_MOTION event for AuiTabCtrl. |
| OnPaint | Handles the EVT_PAINT event for AuiTabCtrl. |
| OnRightDown | Handles the EVT_RIGHT_DOWN event for AuiTabCtrl. |
| OnRightUp | Handles the EVT_RIGHT_UP event for AuiTabCtrl. |
| OnSetFocus | Handles the EVT_SET_FOCUS event for AuiTabCtrl. |
| OnSize | Handles the EVT_SIZE event for AuiTabCtrl. |
Class API¶This is an actual Window - derived window which can be used as a tab control in the normal sense.
Default class constructor. Used internally, do not call it in your code!
| Parameters: |
|
|---|
Gets the size which best suits the window: for a control, it would be the minimal size which doesn’t truncate the control, for a panel - the same size as it would have after a call to Fit().
Note
Overridden from PyControl.
Returns the default border style for AuiTabCtrl.
Returns whether the user is dragging a tab with the mouse or not.
Handles the EVT_AUINOTEBOOK_BUTTON event for AuiTabCtrl.
| Parameters: | event – a AuiNotebookEvent event to be processed. |
|---|
Handles the EVT_MOUSE_CAPTURE_LOST event for AuiTabCtrl.
| Parameters: | event – a MouseCaptureLostEvent event to be processed. |
|---|
Handles the EVT_ERASE_BACKGROUND event for AuiTabCtrl.
| Parameters: | event – a EraseEvent event to be processed. |
|---|
Note
This is intentionally empty, to reduce flicker.
Handles the EVT_KEY_DOWN event for AuiTabCtrl.
| Parameters: | event – a KeyEvent event to be processed. |
|---|
Handles the EVT_KEY_DOWN event for AuiTabCtrl.
| Parameters: | event – a KeyEvent event to be processed. |
|---|
Deprecated since version 0.6: This implementation is now deprecated. Refer to OnKeyDown for the correct one.
Handles the EVT_KILL_FOCUS event for AuiTabCtrl.
| Parameters: | event – a FocusEvent event to be processed. |
|---|
Handles the EVT_LEAVE_WINDOW event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_LEFT_DCLICK event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_LEFT_DOWN event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_LEFT_UP event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_MIDDLE_DOWN event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_MIDDLE_UP event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_MOTION event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_PAINT event for AuiTabCtrl.
| Parameters: | event – a PaintEvent event to be processed. |
|---|
Handles the EVT_RIGHT_DOWN event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_RIGHT_UP event for AuiTabCtrl.
| Parameters: | event – a MouseEvent event to be processed. |
|---|
Handles the EVT_SET_FOCUS event for AuiTabCtrl.
| Parameters: | event – a FocusEvent event to be processed. |
|---|
Handles the EVT_SIZE event for AuiTabCtrl.
| Parameters: | event – a SizeEvent event to be processed. |
|---|