Re: [gtk-list] Re: ItemFactory anyone?



On Thu, Jan 14, 1999 at 08:00:14PM +0100, Jan Kratochvil wrote:
...
> > Why not have the callback data, which is common to all entries, point to
> > an array of pointers. Use the integer to index into the array of
> > pointers?
> >
> 
>   It's just ineffective (but surely better than the glist solution). BTW
> (maintainers, listen... :-) ) does anyone know why the hell it is defined
> as guint and not gpointer and why it is named "action" and not "data" as
> usual in other places of GTK+? Wasn't it meant as for some other meaning?
> 

i just asked about this also, and didn't get a straight answer.
apparently, one needs to use the callback "action" value to
provide different actions according to the (probably differring)
callback data each item could have.  i find this method somewhat
kludgy.
--andy



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