wx.aui.AuiToolBarEvent¶
wx.aui.AuiToolBarEvent is used for the events generated by wx.aui.AuiToolBar.
Class Hierarchy¶
Methods Summary¶
Returns the point where the user clicked with the mouse. |
|
Returns the wx.aui.AuiToolBarItem rectangle bounding the mouse click point. |
|
Returns the wx.aui.AuiToolBarItem identifier. |
|
Returns whether the drop down menu has been clicked. |
|
Properties Summary¶
See |
|
See |
|
Class API¶
- class wx.aui.AuiToolBarEvent(NotifyEvent)¶
Possible constructors:
AuiToolBarEvent(commandType=wxEVT_NULL, winId=0) -> None AuiToolBarEvent(c) -> None
AuiToolBarEvent is used for the events generated by AuiToolBar.
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self, commandType=wxEVT_NULL, winId=0)
- Parameters:
commandType (wx.EventType)
winId (int)
- Return type:
None
__init__ (self, c)
- Parameters:
- Return type:
None
- GetClickPoint(self)¶
Returns the point where the user clicked with the mouse.
- Return type:
Point
- GetItemRect(self)¶
Returns the wx.aui.AuiToolBarItem rectangle bounding the mouse click point.
- Return type:
Rect
- GetToolId(self)¶
Returns the wx.aui.AuiToolBarItem identifier.
- Return type:
int
- IsDropDownClicked(self)¶
Returns whether the drop down menu has been clicked.
- Return type:
bool
- SetDropDownClicked(self, c)¶
- Parameters:
c (bool)
- Return type:
None
- SetToolId(self, toolId)¶
- Parameters:
toolId (int)
- Return type:
None
Properties¶
- ClickPoint¶
See
GetClickPoint
andSetClickPoint
- ItemRect¶
See
GetItemRect
andSetItemRect