Curve Editor

Creates a curveEditor object.

Syntax

::hw::CurveEditor frame/object name -layout <preferred layout>

Description

The CurveEditor class is part of the hw namespace. As it’s a itk class, the name of the object is the same as the name of the widget. The optional argument, packtype, corresponds to how the layout is packed for other components.
auto
Widgets are packed automatically in the passed frame.
custom
User provides frame for each widget.

Arguments

frame
Specifies the Tk frame.
packtype
Optional argument to be passed as the name value pair.

Returns

Not applicable.

Example

# Create a toplevel
toplevel .t
# Pass the desired frame name to ::hw::CurveEditor cons
::hw::CurveEditor .t.fr -layout auto
Or:
# Pass the toplevel you want to create
::hw::CurveEditor .t
Figure 1.