wx.FileDropTarget

Inheritance diagram for wx.FileDropTarget:



Description

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

Derived From

Methods Summary

Class API

Methods

__init__()
No docstrings found for this method.

OnData(x, y, default)

Parameters:

  • x (int)
  • y (int)
  • default (int)

Returns:

int


OnDropFiles(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.

Returns:

bool