Phoenix Logo

phoenix_title wx.lib.agw.flatnotebook.FlatNotebookDragEvent

This event will be sent when a EVT_FLATNOTEBOOK_PAGE_DRAGGED_FOREIGN is mapped in the parent.


class_hierarchy Class Hierarchy

Inheritance diagram for class FlatNotebookDragEvent:


method_summary Methods Summary

__init__ Default class constructor.
GetNotebook Returns the new notebook.
GetOldNotebook Returns the old notebook.
SetNotebook Sets the new notebook.
SetOldNotebook Sets the old notebook.

api Class API



class FlatNotebookDragEvent(FlatNotebookEvent)

This event will be sent when a EVT_FLATNOTEBOOK_PAGE_DRAGGED_FOREIGN is mapped in the parent.


Methods



__init__(self, eventType, eventId=1, nSel=-1, nOldSel=-1)

Default class constructor.

Parameters:
  • eventType – the event type;
  • eventId – the event identifier;
  • nSel – the current selection;
  • nOldSel – the old selection.


GetNotebook(self)

Returns the new notebook.



GetOldNotebook(self)

Returns the old notebook.



SetNotebook(self, notebook)

Sets the new notebook.

Parameters:notebook – an instance of FlatNotebook.


SetOldNotebook(self, old)

Sets the old notebook.

Parameters:notebook – an instance of FlatNotebook.