Well, I don't seem to have the problems again with the simple test program. I guess I'll play around with the code (yes, ftpcube) and see if I can get the VPane to stop the weird behavior. It's just odd that it would sort of work but still act funny. I guess they're just finicky.
On Thu, Jan 17 @ 11:32, Pedro Rodriguez wrote: > I have met several problems with Paned windows but all were related to > properly setting up the layout (like restoring size when restarting the > application). > > The closest in regard to your problem was related to my current > theme (/usr/share/themes/Raleigh/gtk/gtkrc from gtk-engines-0.11-3 > on RH 7.2). I will suggest you to first check if you have a Theme > set up (in ~/.gtkrc) and if this is the case, comment it before > launching the application (ftpcube I presume ;). > > Otherwise, try the following snip to see if the problem can be > reproduced. > > # ---------------------------------------------------------------- > import gtk > > def quit(*args): > gtk.mainquit() > > w = gtk.GtkWindow() > p = gtk.GtkVPaned() > > t = gtk.GtkText() > > b = gtk.GtkHBox() > > b1 = gtk.GtkHBox() > t1 = gtk.GtkText() > b1.pack_start(t1) > > b2 = gtk.GtkHBox() > t2 = gtk.GtkText() > b2.pack_start(t2) > > b3 = gtk.GtkHBox() > t3 = gtk.GtkText() > b3.pack_start(t3) > > b.pack_start(b1) > b.pack_start(b2) > b.pack_start(b3) > > p.pack1(t, 0, 1) > p.pack2(b, 0, 1) > > w.add(p) > > w.connect("destroy_event", quit) > w.connect("delete_event", quit) > > w.show_all() > > gtk.mainloop() > # ---------------------------------------------------------------- > > Regards, > -- > Pedro `-> (pedro_rodriguez) -- Michael Gilfix [EMAIL PROTECTED]
msg03454/pgp00000.pgp
Description: PGP signature