wxcore-0.92.2.0: wxHaskell core

Copyright(c) shelarcy 2007
LicensewxWidgets
Maintainerwxhaskell-devel@lists.sourceforge.net
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Graphics.UI.WXCore.DragAndDrop

Contents

Description

Drag & Drop events.

Synopsis

Drop Targets

dropTarget :: Window a -> DataObject b -> IO (WXCDropTarget ()) Source

Set a drop target window and DataObject that is associated with drop event.

Create Drop Soruces

dropSource :: DataObject a -> Window b -> IO (DropSource ()) Source

Create DropSource. Then dragAndDrop replace target's DataObject by this DataObject.

dropSourceWithCursor :: DataObject a -> Window b -> Cursor c -> Cursor c -> Cursor c -> IO (DropSource ()) Source

On Windows or Mac OS X platform, you must choose this function or dropSourceWithCursorByString, if you want to use Custom Cursor for Drag & Drop event. dropSourceWithIcon doesn't work these platform, and this function doesn't work other platforms.