phoenix_title wx.lib.agw.flatnotebook.FNBDropTarget

Class used to handle the FlatNotebook.OnDropTarget() method when dragging and dropping between different FlatNotebook instances.


class_hierarchy Class Hierarchy

Inheritance diagram for class FNBDropTarget:

super_classes Known Superclasses

wx.DropTarget


method_summary Methods Summary

__init__

Default class constructor.

OnData

Called after OnDrop returns True.


api Class API

class FNBDropTarget(wx.DropTarget)

Class used to handle the FlatNotebook.OnDropTarget() method when dragging and dropping between different FlatNotebook 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 returns True.

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.