Re: Gtk{Tree,List} replacement proposal
- From: Jonathan Blandford <jrb redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list redhat com
- Subject: Re: Gtk{Tree,List} replacement proposal
- Date: 05 Jul 2000 17:52:55 -0400
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]