GtkPaned

The GtkPaned widget allows the developer to split the desired space in two, either horizontally or vertically (see Figure 4.7). You split the space in half, but if you want thirds instead, you must then split one of the halves in half again (and again, and so on). The paned widget has a sizing handle that allows the user to grab and move the location of the pane, resizing the widgets in the two halves (if the options have been set correctly).

Figure 4.7. The GtkPaned widgets demo program running.

Finally, this chapter concludes with a demonstration of the Paned Widget demo—in Listing 4.7 and Figure 4.7. In Figure 4.7, notice the different ...

Get MySQL Building User Interfaces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.