Panel: separator

Syntax

{<name>:} separator

Description

Separator sub-panel. A decorative separating line between other sub-panels.

Membership

Parameters

Switches

Callbacks

None

Notes

If no dimensions are supplied (-h or -w) the relevant width/height is computed from its parent row/column.

Examples

Create a panel window containing two rows, each containing a labeled text input sub-panel. Use a separator between rows.

window w = wpanel {
    row -full {
        label 'Name:'
        nam: text -bc=white,-c=32
    }
    separator ;# Column mode, separator is horizontal.
    row -full {
        label 'Address:'
        add: text -r=5,-c=48,-bc=white
    }
}

Create a panel window containing two separated check-buttons.

window w = wpanel {
    row {
        save: check_button 'Auto-Save',-q
        separator ;# row mode, separator is vertical
        bakup: check_button 'Keep Back-ups',-q
    }
}