Version 2 of separator

Updated 2004-10-08 12:53:50 by eb

A separator is a simple widget that has no behaviour in response to the user and renders itself as a line (either horizontal or vertical.) It's used to separate parts of a GUI.

A separator can be rendered by a single frame suitably packed or grided:

 proc separator {path} {
    return [frame $path -relief groove -borderwidth 2 -width 2 -height 2]
 }

 # Horizontal separator
 pack [separator .sep] -fill x

Category Widget