Re: Setting GtkTreeViewColumn widths

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

 



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@xxxxxxxxxxx
www.murrayc.com
www.openismus.com

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux