Re: gtk_tree_selection_set_select_func()



murrayc t-online de (Murray Cumming) writes:

> Why doesn't GtkTreeSelection have a "before_changed" signal instead of
> this separate select function?

I don't particularly like signals with return values, and didn't see any
compelling reason to make it a signal instead of a function.  It'll be
faster when selecting a large area.  I was also trying to avoid emitting
a signal for every selection event, as people always try to keep an
internal selection list in sync with the real selection with that, and
they often get it wrong.

Thanks,
-Jonathan



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