[Gtk-sharp-list] ComboBox AppendText and Active

Daniel Morgan danielmorgan at verizon.net
Sat Jun 25 19:59:59 EDT 2005


Can we modify the void AppendText(string)  function to return an int.  
This int would be the index into the model where the text got inserted.  
This way, you could immediately select this entry via proerty Active.

Example:

    string text = "Some Text Value";
    int appendedIndex = comboBox.AppendText (text);
    comboBox.Active = appendedIndex;

Also, what happened to documentation on ComboBox on monodoc on the web?  
Other gtk# 1.9.x stuff is missing too.  It used to be there.

If we are supposed to be headed that way; we need these docs.

Thanks,
Daniel



More information about the Gtk-sharp-list mailing list