Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
UniversalDropTarget Class Reference
Inheritance diagram for UniversalDropTarget:

## Public Member Functions
| __init__ (self, editor)
| OnData (self, x, y, d)

## Public Attributes
| bmpdo = wx.BitmapDataObject()
| do = wx.DataObjectComposite()
| editor = editor
| filedo = wx.FileDataObject()
| textdo = wx.TextDataObject()

## Detailed Description

    Implements drop target functionality to receive files, bitmaps and text

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | editor )

## Member Function Documentation

## ◆ OnData()

OnData | ( |  | self,
|  |  | x,
|  |  | y,
|  |  | d )

    Handles drag/dropping files/text or a bitmap

## Member Data Documentation

## ◆ bmpdo

bmpdo = wx.BitmapDataObject()

## ◆ do

do = wx.DataObjectComposite()

## ◆ editor

editor = editor

## ◆ filedo

filedo = wx.FileDataObject()

## ◆ textdo

textdo = wx.TextDataObject()