[pygtk] TreeViewColumn sizing

Pietro Battiston toobaz at email.it
Thu Jan 15 04:10:43 WST 2009


Il giorno mer, 14/01/2009 alle 15.50 -0500, Daniel Hernández Bahr ha
scritto:
> Hullo, everyone!
> 
> my issue is, I have a TreeView with 4 Columns, and it is my interest
> that the last 2 should have the minimal size required (as the last one
> is a small pixbuf and the one before that a 4 digit number), and let
> the first two to get all the size they need (as they represent file
> paths).
> 
> I have tried two set fixed sizes already for the small ones, but it
> doesn't work.

column.set_expand(False) for the two small should do the job

Pietro



More information about the pygtk mailing list