MGH_GUI_LIGHTEDITOR__DEFINE Class
MGH_GUI_LightEditor Purpose
This class implements a GUI application with a single CW_LIGHT_EDITOR
widget. Category
Widgets. Properties
The following properties are supported:
CLIENT (Init, Get, Set)
A reference to the object with which this object will exchange
information. The client must support GetProperty and
SetProperty methods which accept 'PROPERTY_NAME' as a
keyword. It must also support Update and Show
methods. (Subclasses of MGH_GUI_Base inherit Update and Show.)
Several other properties are inherited unaltered from the superclass, MGHwidgetBase.
The following property is inherited with additional functionality:
MANAGED (Init, Get)
This keyword can still be retrieved via GetProperty, but in
addition it is accepted by the Init method, where it specifies
whether Init should call the Manage method. The default (1 =
manage the object immediately) allows a simpler creation
sequence and will normally be satisfactory *except* when the
widget application is (or could be) blocking and there is some
reason to interact with it programmatically--in a way that
requires its widgets to be intact--after initialisation.
(Recall that the Manage method of a blocking widget object
does not return until the widget hierarchy has been
destroyed.) For example a subclass of MGH_GUI_LightEditor
might call MGH_GUI_LightEditor::Init with MANAGED=0 then call
the Manage method at the end of its own initialisation
prcoess.
###########################################################################
This software is provided subject to the following conditions:
1. NIWA makes no representations or warranties regarding the
accuracy of the software, the use to which the software may
be put or the results to be obtained from the use of the
software. Accordingly NIWA accepts no liability for any loss
or damage (whether direct of indirect) incurred by any person
through the use of or reliance on the software.
2. NIWA is to be acknowledged as the original author of the
software where the software is used or presented in any form.
###########################################################################
Modification History
Mark Hadfield, Jan 2000:
Written.