table of contents
wxAuiManagerEvent(3erl) | Erlang Module Definition | wxAuiManagerEvent(3erl) |
NAME¶
wxAuiManagerEvent - Functions for wxAuiManagerEvent class
DESCRIPTION¶
Event used to indicate various actions taken with wxAuiManager.
See wxAuiManager for available event types.
See: wxAuiManager, wxAuiPaneInfo
This class is derived (and can use functions) from: wxEvent
wxWidgets docs: wxAuiManagerEvent
EVENTS¶
Use wxEvtHandler:connect/3 with wxAuiManagerEventType to subscribe to events of this type.
DATA TYPES¶
wxAuiManagerEvent() = wx:wx_object()
wxAuiManager() =
#wxAuiManager{type =
wxAuiManagerEvent:wxAuiManagerEventType(),
manager = wxAuiManager:wxAuiManager(),
pane = wxAuiPaneInfo:wxAuiPaneInfo(),
button = integer(),
veto_flag = boolean(),
canveto_flag = boolean(),
dc = wxDC:wxDC()}
wxAuiManagerEventType() =
aui_pane_button | aui_pane_close | aui_pane_maximize |
aui_pane_restore | aui_pane_activated | aui_render |
aui_find_manager
EXPORTS¶
setManager(This, Manager) -> ok
Types:
Manager = wxAuiManager:wxAuiManager()
Sets the wxAuiManager this event is associated with.
getManager(This) -> wxAuiManager:wxAuiManager()
Types:
Return: The wxAuiManager this event is associated with.
setPane(This, Pane) -> ok
Types:
Pane = wxAuiPaneInfo:wxAuiPaneInfo()
Sets the pane this event is associated with.
getPane(This) -> wxAuiPaneInfo:wxAuiPaneInfo()
Types:
Return: The pane this event is associated with.
setButton(This, Button) -> ok
Types:
Button = integer()
Sets the ID of the button clicked that triggered this event.
getButton(This) -> integer()
Types:
Return: The ID of the button that was clicked.
setDC(This, Pdc) -> ok
Types:
Pdc = wxDC:wxDC()
getDC(This) -> wxDC:wxDC()
Types:
veto(This) -> ok
Types:
veto(This, Options :: [Option]) -> ok
Types:
Option = {veto, boolean()}
Cancels the action indicated by this event if canVeto/1 is true.
getVeto(This) -> boolean()
Types:
Return: true if this event was vetoed.
See: veto/2
setCanVeto(This, Can_veto) -> ok
Types:
Can_veto = boolean()
Sets whether or not this event can be vetoed.
canVeto(This) -> boolean()
Types:
Return: true if this event can be vetoed.
See: veto/2
wx 2.2.1 | wxWidgets team. |