Re: I would like GtkVPaned whose can manage more than 2 panes



Le Sun, 28 Dec 2008 19:38:07 +0100, Milosz Derezynski a écrit :

> You can put multiple VPaneds one into another.

Yes, I can but its behavior isn't what I want.

Example :

    import pygtk
    pygtk.require('2.0')
    import gtk

    window = gtk.Window(gtk.WINDOW_TOPLEVEL)

    vpaned2 = gtk.VPaned()
    label2 = gtk.Label("Pane 2")
    vpaned2.add(label2)
    label3 = gtk.Label("Pane 3")
    vpaned2.add(label3)

    vpaned1 = gtk.VPaned()
    label1 = gtk.Label("Pane 1")
    vpaned1.add1(label1)
    vpaned1.add2(vpaned2)
    window.add(vpaned1)


    window.show_all()

    gtk.main()

1. I move handle between Pane1 and Pane2 to the bottom.
2. I move handle between Pane2 and Pane3 to the top => this handle can't 
move separator between pane1 and pane2.

Regards,
Stephane



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]