Re: Setting GtkTreeViewColumn widths



On Sat, 2006-10-07 at 23:45 +0200, Armin Burgmeier wrote:
> > How can I set the width of a GtkTreeViewColumn? The width property is
> > read-only.
> 
> Does setting the column's sizing to GTK_TREE_VIEW_COLUMN_FIXED and using
> gtk_tree_view_column_set_fixed_width do what you are looking for?

Calling set_fixed_width(int), and then set_resizable() seems to work.
I'm not sure whether the call to set_resizable() is necessary.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]