PDA

View Full Version : gtk# beginner questions about TreeView



istkr
February 27th, 2010, 01:32 PM
Hello,
I've created a TreeStore which contains two columns of strings and a TreeView which uses that TreeStore as a model. I've also appended some values to the TreeStore.
Now I'm trying to do two things:
1) Search the TreeStore for a specific string. I've tried using the Foreach function but I cannot send the string to the TreeModelForeachFunc which I've created.
2) Make the cells in a specific column editable using a CellRendererCombo. I've made them editable but cannot figure out how to use the CellRendererCombo.