On 08/10/2010 12:39 PM, soy wrote: > My issue is that the combobox that shows up for reach row always contains > the same values (b/c I've packstart the one cellRendererCombo object). I > need these combo boxes to contain different values depending on the row it's > in. > > How do I do this?? Please help!
Don't attach any model to the combo at all when you create it. What you want to do is set a data/edit function for that column (depending on what you're doing). This function will be called when the row is displayed/edited. You will presumably need to keep a few list stores around, one for each row (or per type of object, or however you are determining the items to display) and attach the model in that function. This will allow you to have per-row data in the combo. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers If you correspond with me on a regular basis, please read this document: http://www.chrishowie.com/email-preferences/ PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5 ------------------------------------------------------------------------ IMPORTANT INFORMATION/DISCLAIMER This document should be read only by those persons to whom it is addressed. If you have received this message it was obviously addressed to you and therefore you can read it. Additionally, by sending an email to ANY of my addresses or to ANY mailing lists to which I am subscribed, whether intentionally or accidentally, you are agreeing that I am "the intended recipient," and that I may do whatever I wish with the contents of any message received from you, unless a pre-existing agreement prohibits me from so doing. This overrides any disclaimer or statement of confidentiality that may be included on your message. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
