@@ -0,0 +1,1213 @@
+#!/usr/bin/env python3%0A# -*- coding: utf-8 -*-%0A%0A# Copyright (c) 2015 J%C3%A9r%C3%A9mie DECOCK (http://www.jdhp.org)%0A%0A%22%22%22%0AThis is the simplest Python GTK+3 Paned snippet.%0A%0ASee: https://lazka.github.io/pgi-docs/Gtk-3.0/classes/Paned.html%0A     http://learngtk.org/tutorials/python_gtk3_tutorial/html/paned.html%0A%22%22%22%0A%0Afrom gi.repository import Gtk as gtk%0A%0Adef main():%0A    window = gtk.Window()%0A%0A    paned = gtk.Paned(orientation=gtk.Orientation.VERTICAL) # gtk.Orientation.HORIZONTAL or gtk.Orientation.VERTICAL%0A    paned.set_position(30)                                  # Sets the position in pixels of the divider between the two panes (the divider is at n pixels from the top).%0A    window.add(paned)%0A%0A    button1 = gtk.Button(label=%22Btn 1%22)%0A    paned.add1(button1)%0A    #paned.add1(button1, resize=True, shrink=True)%0A%0A    button2 = gtk.Button(label=%22Btn 2%22)%0A    paned.add2(button2)%0A    #paned.add2(button2, resize=True, shrink=True)%0A%0A    window.connect(%22delete-event%22, gtk.main_quit) # ask to quit the application when the close button is clicked%0A    window.show_all()                             # display the window%0A    gtk.main()                                    # GTK+ main loop%0A%0Aif __name__ == '__main__':%0A    main()%0A%0A

Add a snippet (Python GTK+3).