Re: Gtk{Tree,List} replacement proposal



Jonathan Blandford <jrb@redhat.com> writes:

> Maciej Stachowiak <mjs@eazel.com> writes:
> <function naming snipped, as others have stronger opinions then me>
> 

I'm waiting for the flamage...

> 
> > * gtk_tlview_{expand,collapse} as opposed to all - you need to be able
> >   to programatically expand or collapse arbitrary subtrees. These
> >   could take a GtkTLPath.
> 
> One question I forgot to ask is wether or not it's better for the
> programmer to modify the tree with TLPaths or TLNodes.  It's fairly
> easy to convert between the two, but I'm not sure which is more
> convenient.

I didn't mean to express an opinion on this, I was just going with the
flow.
 
> > * "expand" and "collapse" signals
> > 
> > * A "select" signal maybe this is inherited from something else?
> 
> I was using gtk_tlview_set_select_function to let you control whether or
> not a selection can happen, but perhaps a signal is a better way to do
> so.  Same with expanding/collapsing.

My intention was not to control whether they can happen, just to be
able to run arbitrary code when they do, but it seems like either
approach is reasonable.

 - Maciej





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