[Gtk-sharp-list] TreeIter user_data

MSD no1msd at gmail.com
Sun Jul 24 04:07:35 EDT 2005


Hi
I've tried to create a custom model for the treeview widget, but i have a 
problem using the treeiter struct. The documentation says "Models are 
expected to put a unique integer in the
TreeIter.stamp**<f:Gtk.TreeIter.stamp>field, and put model-specific
data in the three
TreeIter.user_data fields." but i can't find any user_data fields. After 
doing some google research i found that there are _user_data, _user_data2, 
_user_data3 fields, but they are protected and i cannot access them from 
outside. So how am i supposed to put data in them? I'm using 1.0.8, latest 
stable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20050724/2fb134fa/attachment.html


More information about the Gtk-sharp-list mailing list