Re: [Fwd: [PATCH] Zooming for the list view and other small cleanups]

On 1 May 2002, David Emory Watson wrote:

> I didn't change the method of icon zooming because it seems unreasonable
> to allocated 7 icons when only 1 is needed...  To do this in a nicer way
> I think we will need to change gtk so until 3.0 I guess were stuck with
> this...

You don't have to allocate 7 icons, just 7 columns, and columns are 
"free" (since they are just enum values). The columns are "virtual", and 
the icons won't be allocated until a cellrenderer asks the model for a 
particular row/column. 

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a short-sighted Catholic astronaut who dotes on his loving old ma. She's 
a radical winged cab driver who believes she is the reincarnation of an 
ancient Egyptian queen. They fight crime! 

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