wx.aui.AuiToolBarEvent¶wx.aui.AuiToolBarEvent is used for the events generated by wx.aui.AuiToolBar.
Methods Summary¶__init__ |
|
GetClickPoint |
Returns the point where the user clicked with the mouse. |
GetItemRect |
Returns the wx.aui.AuiToolBarItem rectangle bounding the mouse click point. |
GetToolId |
Returns the wx.aui.AuiToolBarItem identifier. |
IsDropDownClicked |
Returns whether the drop down menu has been clicked. |
SetClickPoint |
|
SetDropDownClicked |
|
SetItemRect |
|
SetToolId |
Properties Summary¶ClickPoint |
See GetClickPoint and SetClickPoint |
ItemRect |
See GetItemRect and SetItemRect |
ToolId |
See GetToolId and SetToolId |
Class API¶wx.aui.AuiToolBarEvent(NotifyEvent)¶Possible constructors:
AuiToolBarEvent(commandType=wxEVT_NULL, winId=0)
AuiToolBarEvent(c)
AuiToolBarEvent is used for the events generated by AuiToolBar.
__init__(self, *args, **kw)¶__init__ (self, commandType=wxEVT_NULL, winId=0)
| Parameters: |
|
|---|
__init__ (self, c)
| Parameters: | c (wx.aui.AuiToolBarEvent) – |
|---|
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) – |
|---|
SetToolId(self, toolId)¶| Parameters: | toolId (int) – |
|---|
ClickPoint¶See GetClickPoint and SetClickPoint
ItemRect¶See GetItemRect and SetItemRect