[Gtk-sharp-list] Combobox with DataSource
philippe.grohrock at gmail.com
Thu Aug 2 13:15:56 UTC 2012
Okay, so there is the thing I somehow overlooked, thanks a lot. Sometimes
it's hard to spot the obvious when you're looking for something very
I've already worked with the TreeModel to display data and I've seen
examples on how to populate comboboxes with that (from Michael Hutchinson),
so your short and quick reply was indeed the key element I was missing.
2012/8/2 Wolfgang Silbermayr [via Mono] <
ml-node+s1490590n4650690h47 at n4.nabble.com>
> On 2012-08-02 13:08, Amorphiell wrote:
> > Options.DViewMan is the corresponding DataViewManager, coming from a
> > public static class, so that should not be the problem. The error I get
> > is a "Gtk.Combobox" does not contain a definition for DataSource and no
> > extension method could be found etc. ... (missing using directive or
> > assembly reference?) (It's in German and I don't have the exactly
> > matching English translation) Any ideas on where I am missing something?
> > Because from what I read the DataSource is part of System.Data, so that
> > reference is there.
> Are you using a Gtk.ComboBox intentionally? If yes, you won't be able to
> set the DataSource property of it, because there is none. The example in
> the bugtracker that you found used the ComboBox from
> System.Windows.Forms , which has nothing to do with Gtk. With Gtk you
> either can feed a string to the ComboBox, or you create a TreeModel
> that is used. This however is beyond the scope of what I can quickly
> write here. The documentation for the Gtk combobox is at .
> Regards, Wolfgang.
>  http://docs.go-mono.com/?link=T%3aGtk.ComboBox
> Gtk-sharp-list maillist - [hidden email]<http://user/SendEmail.jtp?type=node&node=4650690&i=0>
> If you reply to this email, your message will be added to the discussion
> To unsubscribe from Combobox with DataSource, click here<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4650689&code=cGhpbGlwcGUuZ3JvaHJvY2tAZ21haWwuY29tfDQ2NTA2ODl8LTMxNTQwMjY0NQ==>
View this message in context: http://mono.1490590.n4.nabble.com/Combobox-with-DataSource-tp4650689p4650691.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list