assigning user data to a tree/list row



Hi!

My question is simple, but I cannot find the answer in the api
reference. How can I assign user data to an element of a Gtk::ListStore
or Gtk::TreeStore. Shall I create a hidden column? If yes, what type
shall it be (my user data is a reference).

In gtk1 I used $tree->node_set_row_data($node,$data).


Thanks in advance!
-- 
doome




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