>
>
> when I test all of these,the button always fill the window
Like this,
import gtk
Window = gtk.Window(gtk.WINDOW_TOPLEVEL)
Button=gtk.Button("Hello")
vb = gtk.VBox()
vb.pack_start(Button, False, False)
Window.add(vb)
Button.set_border_width(0)
Button.set_size_request(100,400)
Window.set_default_size(200,600)
Window.show_all()
gtk.main()
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/