Using splitter windows

A splitter window is a particular kind of container widget that manages exactly two sub-windows. The two sub-windows can be stacked horizontally or next to each other left and right. In between the two sub-windows is a sash, which is a movable border that changes the size of the two sub-windows. Splitter windows are often used for sidebars to the main window (i.e., a browser). Figure 8.10 displays a sample splitter window.

Splitter windows are useful when you have two panes of information and want the user to independently determine the size of each pane. Mac OS X Finder windows are an example of splitter window, and many text editors or graphics programs use something similar to maintain a list of open files.

Was this article helpful?

0 0

Post a comment