separator

Name

separator -- A widget which groups widgets horizontal or vertical.

Synopsis

separator [-option value...]

Screenshot

Options

-name

type: string

Name of the widget, can be used to set options in an rc file.

-orientation

type: ONEOF vertical, horizontal (default: horizontal)

Orientation of the separator. This cannot be changed after creation.

-sensitive

type: boolean (default: 1)

Whether or not the item is sensitve to user input.

-visible

type: 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.

Example

set 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

results in

See also

box, table, GtkSeparator