Re: Gtk{Tree,List} replacement proposal



Owen Taylor <otaylor@redhat.com> writes:

> >   /* vtable - not signals */
> >   gint (* get_width)  (GtkTLCell *cell, gpointer   data);
> >   gint (* get_height) (GtkTLCell *cell, gpointer   data);
> 
> This probably should be size_request (GtkTLCell *cell, GtkRequisition *size);
> 
> (Getting the height and width at once may be quite an efficiency
> win at times, and never much of a hit.)

Actually, I often get the height without the width, and conversly, often
get the width without the height.  It's rare that I actually want both
at once.

-Jonathan




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