 
       wx.lib.agw.aui.auibar.CommandToolBarEvent¶
  wx.lib.agw.aui.auibar.CommandToolBarEvent¶A specialized command event class for events sent by AuiToolBar.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| GetClickPoint | Returns the point where the user clicked with the mouse. | 
| GetItemRect | Returns the AuiToolBarItemrectangle. | 
| GetToolId | Returns the AuiToolBarItemidentifier. | 
| IsDropDownClicked | Returns whether the drop down menu has been clicked. | 
| SetClickPoint | Sets the clicking point. | 
| SetDropDownClicked | Sets whether the drop down menu has been clicked. | 
| SetItemRect | Sets the AuiToolBarItemrectangle. | 
| SetToolId | Sets the AuiToolBarItemidentifier. | 
 Class API¶
 Class API¶CommandToolBarEvent(wx.PyCommandEvent)¶A specialized command event class for events sent by AuiToolBar.
__init__(self, command_type, win_id)¶Default class constructor.
| Parameters: | 
 | 
|---|
GetClickPoint(self)¶Returns the point where the user clicked with the mouse.
GetItemRect(self)¶Returns the AuiToolBarItem rectangle.
GetToolId(self)¶Returns the AuiToolBarItem identifier.
IsDropDownClicked(self)¶Returns whether the drop down menu has been clicked.
SetClickPoint(self, p)¶Sets the clicking point.
| Parameters: | p (wx.Point) – the location of the mouse click. | 
|---|
SetDropDownClicked(self, c)¶Sets whether the drop down menu has been clicked.
| Parameters: | c (bool) – Trueto set the drop down as clicked,Falseotherwise. | 
|---|
SetItemRect(self, r)¶Sets the AuiToolBarItem rectangle.
| Parameters: | r (wx.Rect) – the toolbar item rectangle. | 
|---|
SetToolId(self, id)¶Sets the AuiToolBarItem identifier.
| Parameters: | id (integer) – the toolbar item identifier. | 
|---|