wx.lib.agw.flatnotebook.FNBDropTarget¶
Class used to handle the FlatNotebook.OnDropTarget()
method when dragging and
dropping between different FlatNotebook
instances.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Called after OnDrop returns |
Class API¶
- class FNBDropTarget(wx.DropTarget)¶
Class used to handle the
FlatNotebook.OnDropTarget()
method when dragging and dropping between differentFlatNotebook
instances.
Methods¶
- __init__(self, parent)¶
Default class constructor.
- Parameters:
parent – the window handling the drag and drop, an instance of
FlatNotebook
.
- OnData(self, x, y, dragres)¶
Called after
OnDrop
returnsTrue
.By default this will usually call
GetData
and will return the suggested default value dragres.- Parameters:
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.