[ Team LiB ] Previous Section Next Section

Panedwindow Attributes

Table 28-3 lists the panedwindow widget attributes. The table uses the resource name for the attribute, which has capitals at internal word boundaries. In Tcl commands these options are specified with a dash and all lowercase.

Table 28-3. Panedwindow attributes

background

Background color (also bg).

borderWidth

Extra space around the edge of the widget, in screen units.

cursor

Cursor to display when mouse is over the widget.

handlePad

When sash handles are drawn, the distance in screen units from the top or left end of the sash (depending on the orientation) at which to draw the handle.

handleSize

The size of a sash handle, in screen units. Handles are always drawn as squares.

height

Height of the widget in screen units.

opaqueResize

Boolean. True indicates the panes should resize as a sash is moved. False (default) indicates resizing is deferred until the sash is placed.

orient

horizontal or vertical

relief

flat, sunken, raised, groove, solid, or ridge.

sashCursor

Cursor to display over a sash. Defaults to a double-sided arrow.

sashPad

Padding on both sides of a sash.

sashRelief

Relief style for sashes. flat, sunken, raised (default), groove, solid, or ridge.

sashWidth

Width of each sash, in screen units.

showHandle

Boolean, whether or not to show the sash handles. Defaults to False on Windows, and True on other platforms.

width

Width of the widget in screen units.

    [ Team LiB ] Previous Section Next Section