<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">

<!-- THIS FILE IS GENERATED DO NOT EDIT -->


<erlref>
<header>
  <copyright>
    <year>2020</year><year>2021</year>
    <holder>wxWidgets team.</holder></copyright>
  <legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
  </legalnotice>
  <title>wxAuiNotebookEvent</title>
</header>
<module>wxAuiNotebookEvent</module>
<modulesummary>Functions for wxAuiNotebookEvent class</modulesummary>
<description><p>This class is used by the events generated by <seeerl marker="wxAuiNotebook"><c>wxAuiNotebook</c></seeerl>.
      </p><p>See: <seeerl marker="wxAuiNotebook"><c>wxAuiNotebook</c></seeerl>, <seeerl marker="wxBookCtrlEvent"><c>wxBookCtrlEvent</c></seeerl>
      </p>
  <p>This class is derived (and can use functions) from: 
    <seeerl marker="wxBookCtrlEvent"><c>wxBookCtrlEvent</c></seeerl> <seeerl marker="wxNotifyEvent"><c>wxNotifyEvent</c></seeerl> <seeerl marker="wxCommandEvent"><c>wxCommandEvent</c></seeerl> <seeerl marker="wxEvent"><c>wxEvent</c></seeerl></p>
  
  <p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_aui_notebook_event.html">wxAuiNotebookEvent</url></p>
  </description><section><title>Events</title><p>Use <seemfa marker="wxEvtHandler#connect/3"><c>wxEvtHandler:connect/3</c></seemfa> with <seetype marker="#wxAuiNotebookEventType"><c>wxAuiNotebookEventType</c></seetype> to subscribe to events of this type.</p></section>
<datatypes>
    <datatype><name name="wxAuiNotebookEvent"/></datatype>
    <datatype><name name="wxAuiNotebook"/></datatype>
    <datatype><name name="wxAuiNotebookEventType"/></datatype></datatypes>

<funcs>
  <func>
    <name name="setSelection" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the selection member variable. </fsummary>
    <desc><p>Sets the selection member variable. 
      </p></desc>
  </func>
  
  <func>
    <name name="getSelection" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the currently selected page, or <c>wxNOT_FOUND</c> if none was selected. </fsummary>
    <desc><p>Returns the currently selected page, or <c>wxNOT_FOUND</c> if none was selected. 
      </p><p>Note: under Windows, <seemfa marker="#getSelection/1"><c>getSelection/1</c></seemfa> will return the same value as <seemfa marker="#getOldSelection/1"><c>getOldSelection/1</c></seemfa> when called from the <c>EVT_BOOKCTRL_PAGE_CHANGING</c> handler and not the page which is going to be selected. 
      </p></desc>
  </func>
  
  <func>
    <name name="setOldSelection" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the id of the page selected before the change. </fsummary>
    <desc><p>Sets the id of the page selected before the change. 
      </p></desc>
  </func>
  
  <func>
    <name name="getOldSelection" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the page that was selected before the change, <c>wxNOT_FOUND</c> if none was selected. </fsummary>
    <desc><p>Returns the page that was selected before the change, <c>wxNOT_FOUND</c> if none was selected. 
      </p></desc>
  </func>
  
  <func>
    <name name="setDragSource" arity="2" clause_i="1" since=""/>
    <fsummary/>
    <desc/>
  </func>
  
  <func>
    <name name="getDragSource" arity="1" clause_i="1" since=""/>
    <fsummary/>
    <desc/>
  </func>
  </funcs>
</erlref>
