Paned (Python) Marta Maria Casetti mmcasetti@gmail.com 2012 A widget with two adjustable panes Paned

Two images in two adjustable panes, horizontally aligned.

Code used to generate this example
Useful methods for a Paned widget

To have two vertically aligned panes, use Gtk.Orientation.VERTICAL instead of Gtk.Orientation.HORIZONTAL. The method add1(widget1) will add the widget1 to the top pane, and add2(widget2) will add the widget2 to the bottom pane.

API References

In this sample we used the following:

GtkPaned

Standard Enumerations

GtkImage