AGW Logo

agw_title FNBDropTarget

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

hierarchy Inheritance Diagram

Inheritance diagram for: FNBDropTarget

Inheritance diagram of FNBDropTarget


method_summary Methods Summary

__init__Default class constructor.
OnDataCalled after OnDrop returns True.

API Class API

class FNBDropTarget(wx.DropTarget)[source]

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



__init__(parent)[source]

Default class constructor.

Parameters:parent – the window handling the drag and drop, an instance of FlatNotebook.


OnData(x, y, dragres)[source]

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.
Tree

Table Of Contents

Previous topic

FNBDropSource

Next topic

FNBRenderer