[pygtk] Setting gtk.TreeViewColumn width
David M. Cook
dave at davidcook.org
Thu Jul 13 01:39:46 WST 2006
On Tue, Jul 11, 2006 at 01:26:35PM -0600, Adam Olsen wrote:
> I guess I should have specified that I looked there. I can only see a way
> to set a max width, a min width, and a fixed width. I'd just like to set
> the width, but allow the user to be able to resize it as well.
Yeah, you're right, that is confusing. Here's what I use:
tvc.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
tvc.set_resizable(True)
tvc.set_fixed_width(self.width)
Dave Cook
More information about the pygtk
mailing list