[Gtk-sharp-list] ComboBox: How to add arow that is not in the model?

Chris Howie cdhowie at gmail.com
Sun Dec 7 01:18:01 EST 2008

On Sat, Dec 6, 2008 at 7:07 PM, xat <xavier.thomas.1980 at gmail.com> wrote:
> Hello,
> I have a combobox that work with a TreeModel.
> It works OK but I want to add rows that are not in the TreeModel (such as:
> "None" or "Create New"  or a simple separator)
> I tried the Add method but it does not have the desored effect.
> Is this possible somehow?

Either put them in your model or create a wrapper model that adds them
where you want them in relation to the real model.

Chris Howie

More information about the Gtk-sharp-list mailing list