Public Member Functions | |
override void | Dispose () |
virtual DragResult | DoDragDrop (Drag flags) |
DropSource (DataObject dataObject, Window win) | |
DropSource (Window win) | |
DropSource (IntPtr wxObject) | |
Protected Attributes | |
DataObject | m_dataObject = null |
Properties | |
DataObject | DataObject [get, set] |
wx.DropSource.DropSource | ( | IntPtr | wxObject | ) |
For internal use only
wxObject | Pointer to a native C++ instance |
wx.DropSource.DropSource | ( | Window | win | ) |
Creates a drop source referring to the provided window as data source.
win | The source of the dropped data. |
wx.DropSource.DropSource | ( | DataObject | dataObject, | |
Window | win | |||
) |
Creates a drop source referring to a window provising the data and the dragged data.
dataObject | The dragged data. | |
win | The source of the dropped data. |
override void wx.DropSource.Dispose | ( | ) | [virtual] |
Reimplemented from wx.Object.
virtual DragResult wx.DropSource.DoDragDrop | ( | Drag | flags | ) | [virtual] |
Do it (call this in response to a mouse button press, for example). This starts the drag-and-drop operation which will terminate when the user releases the mouse.
flags | Describes the drag operation. If wx.Drag.wxDrag_AllowMove is included in the flags, data may be moved and not only copied (default). If wx.Drag.wxDrag_DefaultMove is specified (which includes the previous flag), this is even the default operation. |
DataObject wx.DropSource.m_dataObject = null [protected] |
DataObject wx.DropSource.DataObject [get, set] |