[python1.6a2, gtk 1.2.5, pygtk 0.6.6]

I have a togglebutton and a frame packed into an hbox.  
Clicking the togglebutton does hide/show on the frame's contents, which works fine: 
the frame and button shrink to just the button's and frame-label's height.
But when the frame opens up, the togglebutton stretches in height with the frame,
instead of staying a little square aligned with the top edge of the frame.

How can I force the togglebutton to stay it's natural (square) size? 

I tried tog_but.set_policy(false,false,false), but I get an attibute error,
as though buttons don't have this method.  The options for packing into the
hbox seem only to pertain to the horizontal dimensions.

Thanks,
        George
--
George Young,  Rm. L-204                [EMAIL PROTECTED]
MIT Lincoln Laboratory
244 Wood St.
Lexington, Massachusetts  02420-9108    (781) 981-2756

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to