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=wxEVT_NULL, winId=0)

AuiToolBarEvent(c)

AuiToolBarEvent is used for the events generated by AuiToolBar.

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self, commandType=wxEVT_NULL, winId=0)

Parameters
  • commandType (wx.EventType) –

  • winId (int) –



__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

SetClickPoint(self, p)
Parameters

p (wx.Point) –

SetDropDownClicked(self, c)
Parameters

c (bool) –

SetItemRect(self, r)
Parameters

r (wx.Rect) –

SetToolId(self, toolId)
Parameters

toolId (int) –

ClickPoint

See GetClickPoint and SetClickPoint

ItemRect

See GetItemRect and SetItemRect

ToolId

See GetToolId and SetToolId