Re: Unsolved mystery - How to control GtkTreeView row height



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]