A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.TextDropTarget.html below:

wx.TextDropTarget — wxPython Phoenix 4.2.4a1 documentation

wx.TextDropTarget¶

A predefined drop target for dealing with text data.

Class Hierarchy¶

Inheritance diagram for class

TextDropTarget

:

Methods Summary¶ Class API¶
class wx.TextDropTarget(DropTarget)¶

Possible constructors:

A predefined drop target for dealing with text data.


Methods¶
__init__(self)¶

Constructor.

Return type:

None


OnDrop(self, x, y)¶

See wx.DropTarget.OnDrop .

This function is implemented appropriately for text, and calls OnDropText .

Parameters:
  • x (int)

  • y (int)

Return type:

bool


OnDropText(self, x, y, data)¶

Override this function to receive dropped text.

Parameters:
  • x (int) – The x coordinate of the mouse.

  • y (int) – The y coordinate of the mouse.

  • data (string) – The data being dropped: a String .

Return type:

bool


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4