[TDropColor] [Index] [TDropContext]

Class TDropContext


File: <toad/dragndrop.hh>

Super Classes

TOADBase

Attributes

public int _x
public int _y
public TSignal sigDrop
public TWindow *wnd
public int x1
public int x2
public int y1
public int y2

Methods

CheckType
public bool CheckType(unsigned type)
Return 'true', when TDropContext can handle this type.
GetBestType
public virtual ulong GetBestType(TTargetList *t)
Returns the best type offered in the target list.
GetX
public int GetX()
GetY
public int GetY()
SetFromContext
public virtual void SetFromContext(TDragContext*)
This one is only called when the data is delivered inside the program and drags' GetTargetList() returned NULL.
It's to ease the implementation of new drag'n drop classes.
SetFromSelection
public virtual void SetFromSelection(unsigned type, unsigned char*, ulong)
Read object of type t from data.
TDropContext
public TDropContext(TWindow *)
public TDropContext(TWindow*)
X
public int X()
Y
public int Y()

This page was generated with Stupid -- Another stupid C++ to HTML generator
Written 1998,99 by The Wizards of Zilog
Copyright © 1998,99 by the TOAD Project