[Gtk-sharp-list] Problems with Gtk.TreeView.

Mike Kestner mkestner@speakeasy.net
15 Jun 2003 21:03:37 -0500

On Tue, 2003-06-10 at 03:12, Erik Bågfors wrote:

> In c I use
>  gtk_tree_view_insert_column_with_attributes and gtk_list_store_set to
> do that but I cannot find those methods in gtk-sharp.

Any time you see an elipsis signature in the C API, you will not find a
corresponding C# wrapper.  If anyone has any great ideas or pointers to
docs for addressing this problem, send them this way.

> Another thing,
> Sometimes you can really feel that gtk-sharp is a wrapper over something
> originally written in c. For example when I have to use GLib.  For
> example the following code:
> ListStore store = new ListStore((int)TypeFundamentals.TypeString,
>                            (int)TypeFundamentals.TypeString);
> TreeIter iter = new TreeIter();
> store.Append(out iter)
> store.SetValue(iter, 0, new GLib.Value("TEST1")); 
> Why should I have to care about GLib.Value here? I should be able to
> just say
> store.SetValue(iter,0,"TEST1");

I think you can already with Rachel's recent TreeView enhancements.