[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Unsolved mystery - How to control GtkTreeView row height
- From: Gabriel Schulhof <nix go-nix ca>
- To: richae iinet net au
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Unsolved mystery - How to control GtkTreeView row height
- Date: Mon, 26 Mar 2007 04:16:06 +0300
Hey!
On Sat, 2007-03-24 at 13:29 +1100, Anthony E. Rich wrote:
> Remember: all gtk code has been tried, and all doc and forums have been
> searched unsuccessfully for a solution, for the past 2 years. It is time
> to put
> our minds to fixing this universal problem of fixed-height grids, so that
> commercially oriented applications can use GTK+.
How about subclassing the GtkCellRenderer classes used in the tree
view ?
GtkCellRenderer has a virtual method called get_size which the
GtkTreeView calls to determine how much the cell renderer wants.
If every cell renderer in the tree view wants the same height, chances
are it'll get it - no ?
HTH
Gabriel
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]