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.FileDropTarget.html below:

wx.FileDropTarget — wxPython Phoenix 4.2.4a1 documentation

wx.FileDropTarget¶

This is a drop target which accepts files (dragged from File Manager or Explorer).

Class Hierarchy¶

Inheritance diagram for class

FileDropTarget

:

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

Possible constructors:

This is a drop target which accepts files (dragged from File Manager or Explorer).


Methods¶
__init__(self)¶

Constructor.

Return type:

None


OnDrop(self, x, y)¶

See wx.DropTarget.OnDrop .

This function is implemented appropriately for files, and calls OnDropFiles .

Parameters:
  • x (int)

  • y (int)

Return type:

bool


OnDropFiles(self, x, y, filenames)¶

Override this function to receive dropped files.

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

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

  • filenames (list of strings) – An array of filenames.

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