A widget which denotes sets widgets in horizontal or
vertical .
Synopsis
gnocl::separator [-option value...]
ScreenshotOptions
- -name string
-
Name of the widget, can be used to set options in an rc file.
-
-orientation one vertical or horizontal (default: horizontal)
-
Orientation of the separator. This cannot be changed after creation.
-
-sensitive boolean (default: 1)
-
Whether or not the item is sensitive to user input.
-
-visible boolean (default: 1)
-
Whether or not the item is visible.
Description
A separator is a widget which groups widgets horizontal or
vertical. This is similar to the frame of a box or table widget.
Exampleset box [gnocl::box -orientation vertical]
$box add [gnocl::label -text "above"]
$box add [gnocl::separator]
$box add [gnocl::label -text "below"]
gnocl::window -title "Separator" -child $box
|