SELECTABLEDRAWWIDGET__DEFINE Name
SELECTABLEDRAWWIDGET
Purpose
The purpose of this routine is to subclass a draw widget so that items in the
draw widget can be "selectable" and interactive. The type of interaction available
is limited to moving objects (with the left mouse button) or calling their
control panel (with the right mouse button).
Authors
FANNING SOFTWARE CONSULTING BURRIDGE COMPUTING
1645 Sheely Drive 18 The Green South
Fort Collins Warborough, Oxon
CO 80526 USA OX10 7DN, ENGLAND
Phone: 970-221-0438 Phone: +44 (0)1865 858279
E-mail: davidf@dfanning.com E-mail: davidb@burridgecomputing.co.uk
Category
Object widgets. Syntax
selectableDrawWidget = Obj_New("SelectableDrawWidget", theParent)
Superclasses
DRAWWIDGET
WIDGETATOM
CATATOM
CATCONTAINER
IDL_CONTAINER
Class Structure
class = { SelectableDrawWidget, $
_event_handler: Obj_New(), $ ; The real event handler object(s) for the DROPLISTWIDGET.
_event_method_real: "", $ ; The event method assigned by the user to this object widget.
_select_events: 0L, $ ; A flag that indicates SELECT_EVENTS are turned on.
INHERITS DRAWWIDGET $ ; INHERITS DRAWWIDGET capabilities.
}
Modification History
Written by: David W.Fanning, 31 March 2005.
Added ability to double-buffer output through BUFFER_OUTPUT keyword. 8 July 2005. DWF.