How to make a gtktreeview column flexible?
- From: Till Harbaum / Lists <lists harbaum org>
- To: gtk-app-devel-list gnome org
- Subject: How to make a gtktreeview column flexible?
- Date: Fri, 25 Apr 2008 19:52:10 +0100
i have a gtktreeview filling the complete width of a window. Now i want the
view to always use the full width. I therefore want the middle column (a text
column) to be flexible. I want it to be as wide as possible for any given window
width. So if you make the window wider i want this column to become wider.
If i just enable ellipsis in the columns text renderer the column gets very
small and only a fraction of the window width is used. If i make it a fixed
width it's exactly that: fixed width.
How do i make the column always use a much space as possible but never
more than available?
] [Thread Prev