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

wx.DropFilesEvent — wxPython Phoenix 4.2.4a1 documentation

wx.DropFilesEvent¶

This class is used for drop files events, that is, when files have been dropped onto the window.

The window must have previously been enabled for dropping by calling wx.Window.DragAcceptFiles .

Important note: this is a separate implementation to the more general drag and drop implementation documented in the Drag and Drop Overview. It uses the older, Windows message-based approach of dropping files.

Events Emitted by this Class¶

Handlers bound for the following event types will receive a wx.DropFilesEvent parameter.

Note

Windows only until version 2.8.9, available on all platforms since 2.8.10.

Class Hierarchy¶

Inheritance diagram for class

DropFilesEvent

:

Methods Summary¶ Properties Summary¶ Class API¶
class wx.DropFilesEvent(Event)¶

Possible constructors:

DropFilesEvent(id=0, files=None) -> None

This class is used for drop files events, that is, when files have been dropped onto the window.


Methods¶
__init__(self, id=0, files=None)¶

Constructor.

Parameters:
  • id (wx.EventType)

  • noFiles (int)

  • files (string)

Return type:

None


GetFiles(self)¶

Returns an array of filenames.

Return type:

Any


GetNumberOfFiles(self)¶

Returns the number of files dropped.

Return type:

int


GetPosition(self)¶

Returns the position at which the files were dropped.

Returns an array of filenames.

Return type:

wx.Point


Properties¶
Files¶

See GetFiles


NumberOfFiles¶

See GetNumberOfFiles


Position¶

See GetPosition


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