phoenix_title wx.aui.AuiToolBarEvent

wx.aui.AuiToolBarEvent is used for the events generated by wx.aui.AuiToolBar.


class_hierarchy Class Hierarchy

Inheritance diagram for class AuiToolBarEvent:

method_summary 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


property_summary Properties Summary

ClickPoint

See GetClickPoint and SetClickPoint

ItemRect

See GetItemRect and SetItemRect

ToolId

See GetToolId and SetToolId


api Class API

class wx.aui.AuiToolBarEvent(NotifyEvent)

Possible constructors:

AuiToolBarEvent(commandType: EventType=wxEVT_NULL, winId: int=0) -> None

AuiToolBarEvent(c : AuiToolBarEvent) -> None

AuiToolBarEvent is used for the events generated by AuiToolBar.


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self, commandType: EventType=wxEVT_NULL, winId: int=0)

Parameters:
  • commandType (wx.EventType) –

  • winId (int) –

Return type:

None



__init__ (self, c : AuiToolBarEvent)

Parameters:

c (wx.aui.AuiToolBarEvent) –

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



SetClickPoint(self, p : Point)
Parameters:

p (wx.Point) –

Return type:

None



SetDropDownClicked(self, c : bool)
Parameters:

c (bool) –

Return type:

None



SetItemRect(self, r : Rect)
Parameters:

r (wx.Rect) –

Return type:

None



SetToolId(self, toolId : int)
Parameters:

toolId (int) –

Return type:

None


Properties

ClickPoint

See GetClickPoint and SetClickPoint



ItemRect

See GetItemRect and SetItemRect



ToolId

See GetToolId and SetToolId