.TH wxAuiNotebookEvent 3erl "wx 2.2.2.1" "wxWidgets team." "Erlang Module Definition" .SH NAME wxAuiNotebookEvent \- Functions for wxAuiNotebookEvent class .SH DESCRIPTION .LP This class is used by the events generated by \fIwxAuiNotebook\fR\&\&. .LP See: \fIwxAuiNotebook\fR\&, \fIwxBookCtrlEvent\fR\& .LP This class is derived (and can use functions) from: \fIwxBookCtrlEvent\fR\& \fIwxNotifyEvent\fR\& \fIwxCommandEvent\fR\& \fIwxEvent\fR\& .LP wxWidgets docs: wxAuiNotebookEvent .SH "EVENTS" .LP Use \fIwxEvtHandler:connect/3\fR\& with \fIwxAuiNotebookEventType\fR\& to subscribe to events of this type\&. .SH DATA TYPES .nf \fBwxAuiNotebookEvent()\fR\& = wx:wx_object() .br .fi .nf \fBwxAuiNotebook()\fR\& = .br #wxAuiNotebook{type = .br wxAuiNotebookEvent:wxAuiNotebookEventType(), .br old_selection = integer(), .br selection = integer(), .br drag_source = wxAuiNotebook:wxAuiNotebook()} .br .fi .nf \fBwxAuiNotebookEventType()\fR\& = .br command_auinotebook_page_close | .br command_auinotebook_page_changed | .br command_auinotebook_page_changing | .br command_auinotebook_button | command_auinotebook_begin_drag | .br command_auinotebook_end_drag | .br command_auinotebook_drag_motion | .br command_auinotebook_allow_dnd | .br command_auinotebook_tab_middle_down | .br command_auinotebook_tab_middle_up | .br command_auinotebook_tab_right_down | .br command_auinotebook_tab_right_up | .br command_auinotebook_page_closed | .br command_auinotebook_drag_done | command_auinotebook_bg_dclick .br .fi .SH EXPORTS .LP .nf .B setSelection(This, Page) -> ok .br .fi .br .RS .LP Types: .RS 3 This = wxAuiNotebookEvent() .br Page = integer() .br .RE .RE .RS .LP Sets the selection member variable\&. .RE .LP .nf .B getSelection(This) -> integer() .br .fi .br .RS .LP Types: .RS 3 This = wxAuiNotebookEvent() .br .RE .RE .RS .LP Returns the currently selected page, or \fIwxNOT_FOUND\fR\& if none was selected\&. .LP Note: under Windows, \fIgetSelection/1\fR\& will return the same value as \fIgetOldSelection/1\fR\& when called from the \fIEVT_BOOKCTRL_PAGE_CHANGING\fR\& handler and not the page which is going to be selected\&. .RE .LP .nf .B setOldSelection(This, Page) -> ok .br .fi .br .RS .LP Types: .RS 3 This = wxAuiNotebookEvent() .br Page = integer() .br .RE .RE .RS .LP Sets the id of the page selected before the change\&. .RE .LP .nf .B getOldSelection(This) -> integer() .br .fi .br .RS .LP Types: .RS 3 This = wxAuiNotebookEvent() .br .RE .RE .RS .LP Returns the page that was selected before the change, \fIwxNOT_FOUND\fR\& if none was selected\&. .RE .LP .nf .B setDragSource(This, S) -> ok .br .fi .br .RS .LP Types: .RS 3 This = wxAuiNotebookEvent() .br S = wxAuiNotebook:wxAuiNotebook() .br .RE .RE .RS .RE .LP .nf .B getDragSource(This) -> wxAuiNotebook:wxAuiNotebook() .br .fi .br .RS .LP Types: .RS 3 This = wxAuiNotebookEvent() .br .RE .RE .RS .RE