PyGTK Button Size Question

Thomas Guettler guettli at thomas-guettler.de
Wed Mar 23 11:03:18 EST 2005


Am Wed, 23 Mar 2005 03:02:44 -0800 schrieb Harlin Seritt:

> How does one set the width of a gtk.Button explicitly? and height for
> that matter as well... 

I think it is gtk.Widget.set_size_request: 

http://www.pygtk.org/pygtk2reference/class-gtkwidget.html#method-gtkwidget--set-size-request

HTH,
 Thomas

-- 
Thomas Güttler, http://www.thomas-guettler.de/





More information about the Python-list mailing list