Home Page Toolkit Overview Using GML User Input Services Finger Tracker Calibrator Frame Grabber Service protocol Obtaining GML Installing GML Licence Developer Documentation Tcl/Tk API The GML Canvas Image processing Tcl Scripts Library List of Classes List of Files C/C++ API List of Classes List of Files |
gmlConfigurable Class ReferenceInherited by
Detailed DescriptionInterface class for objects that are configurable 'a la Tk', i.e. using the configure and cget methods. Provides basic value checking behaviour. Subclasses may define hook methods to e.g. validate options or clamp them to reasonable values. A hook for configure must be named _configure_FOO, where FOO is the relevant option name with the first dash removed (if any). It takes one argument, the value provided to configure, and must return the new value for the option. The default behavior is to just set the option to the given value. A hook for cget must be named _cget_FOO, as above. It takes no argument and must return the current value of the option. The default behavior is to just return the option's current value. Public Member Functionsoption subcommand args Manage options. configure args
cget option Return the current value of option option. reconfigure |
Contact: julien (dot) letessier (at) gmail (dot) com.
Copyright (c) 2000-2007 CLIPS-IMAG Laboratory, Grenoble, France. All rights reserved. W3CXHTML 1.0 W3CCSS 2.0 |