Re: [gtk-list] GtkCTree problems



On Wed, Mar 10, 1999 at 01:36:42AM +0200, Timo Sirainen wrote:
> First of all, tree_unselect_row signal isn't sent after removing the last
> item from tree.

Ok, fixed in cvs now. Thanks for the hint.

> And a problem .. I want to have some widgets updated every time row is
> changed, and the widget updating depends on using row's data. If I
> grab tree_select_row signal, creating the first node selects it
> immediately in gtk_ctree_insert_node(), so tree_signal_row is called and
> row's data is still NULL -> my widgets aren't updated correctly.
> Tried using gtk_clist_freeze()/..thaw(), but it didn't help.
> 
> Any ideas how to fix this?

You could unselect/select the node after setting its data.

bye,
  Lars



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