Class used to handle the FlatNotebook.OnDropTarget()
method when dragging and
dropping between different FlatNotebook
instances.
Default class constructor. |
|
Called after OnDrop returns |
FNBDropTarget
(wx.DropTarget)¶Class used to handle the FlatNotebook.OnDropTarget()
method when dragging and
dropping between different FlatNotebook
instances.
__init__
(self, parent)¶Default class constructor.
parent – the window handling the drag and drop, an instance of
FlatNotebook
.
OnData
(self, x, y, dragres)¶Called after OnDrop
returns True
.
By default this will usually call GetData
and will return the suggested default value dragres.
x – the current x position of the mouse while dragging and dropping;
y – the current y position of the mouse while dragging and dropping;
dragres – an optional default return value.