Re: Bug In CTree ?



On Fri, 2001-11-23 at 11:15, Paolo Molaro wrote:
Do not ever store data inside a Gtk::CTreeNode, it's not a Gtk::Object,
it can't be properly reference-counted, it may not even be a hash
reference in the future.
You can use:
      $ctree->node_set_row_data ($node, $data);
      $ctree->node_get_row_data ($node);
(where $data is a reference).
Or store some (textual) info in an hidden column.

thank you, that did it...

Pedro Caria
(Máquina de Estados)




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