#! /usr/sgitcl/bin/moat xtAppInitialize xmPanedWindow .top managed xmScrolledText .top.txt managed \ -rows 3 -editMode multi_line_edit -value \ "This paned window has three parts: xmScrolledText, xmScrolledList, and xmToggleButtons inside xmRowColumn.\n\n\window{paned_window}\n" xmScrolledList .top.list managed \ -width 568 \ -items {Windows, Widgets, Gadgets, Buttons} \ -itemCount 4 xmFrame .top.f managed xmRowColumn .top.f.rc managed \ -orientation horizontal \ -radioBehavior true xmToggleButton .top.f.rc.1 managed xmToggleButton .top.f.rc.2 managed xmToggleButton .top.f.rc.3 managed . realizeWidget . mainLoop
Figure 4-11 : xmPanedWindow With Sashes Table 4-43 lists the resources associated with xmPanedWindow.
The -refigureMode resource indicates whether or not child widgets should be reset to their appropriate positions when the paned window is resized.
Table 4-44 lists the resources for xmPanedWindow that specify pane constraint behavior.
Resource Name | Default Value | Type or Legal Values |
---|---|---|
-allowResize | True | Boolean |
-paneMaximum | 1000 | Dimension |
-paneMimimum | 1 | Dimension |
-skipAdjust | False | Boolean |
The -skipAdjust constraint resource controls whether or not the paned window should automatically resize this pane.