wx.TextDropTarget¶A predefined drop target for dealing with text data.
Methods Summary¶__init__ |
Constructor. |
OnDrop |
See wx.DropTarget.OnDrop . |
OnDropText |
Override this function to receive dropped text. |
Class API¶wx.TextDropTarget(DropTarget)¶Possible constructors:
TextDropTarget()
A predefined drop target for dealing with text data.
__init__(self)¶Constructor.
OnDrop(self, x, y)¶See wx.DropTarget.OnDrop .
This function is implemented appropriately for text, and calls OnDropText .
| Parameters: |
|
|---|---|
| Return type: | bool |
OnDropText(self, x, y, data)¶Override this function to receive dropped text.
| Parameters: |
|
|---|---|
| Return type: | bool |