[Gtk-sharp-list] Re: Improving Gtk#

Thiago sayao Thiago sayao <thiago.sayao@gmail.com>
Sat, 30 Apr 2005 13:07:12 -0300


I agree with Aur=E9lien, very well pointed!

On 4/30/05, Aur=E9lien Massoutier <aurelienm@gmail.com> wrote:
> (sorry for my bad English, it is not my native language)
>=20
> Hi Miguel,
>=20
> I'm a GTK# beginner, so that's the point of you of a simple GTK# beginner=
 :)
>=20
> Some things I find annoying  :
> - It seems we had to use ListStore for TreeView.Model, and it seems
> ListStore is a simple another list object... There is always many
> lists types in System.Collections, why should we use another lis type
> for treeview for instance ? An IList would be better, no ?
>=20
> To extend what i say, it seems there is a lot of things in Gtk and in
> Glib that are equivalent to already implemented things in .NET
> framework. For me, it would be better if no "duplicate" objects have
> to coexist.
>=20
> - I find some things very weird. To get the entry selected in a
> TreeView, it seems we have to write an overcomplicated-for-the-job
> code :
> TreeIter iter;
> TreeModel model;
> TreeSelection sel =3D myTreeView.Selection;
> if(sel.GetSelected(out model, out iter)) {
>     int thing =3D (int)model.GetValue( iter, 5 );
>=20
> And so on.
>=20
> A simple thing like that could not be possible ? :
> int thing =3D (int) myTreeView.EntrySelected(5);
>=20
> or, even better, a thing like that :
> MyObject my =3D (MyObject) myTreeView.EntrySelected();
>=20
> Regards,
> (and thanks for mono !)
>=20
> On 4/29/05, Itai Bar-Haim <itbh@012.net.il> wrote:
> > > sorry, forget the tutorials stuff, I see in mono Windows instalation =
all
> > the
> > > Gtk samples in GtkSharp with C#.
> >
> > > But, wath about the OpenGl-Widget??, I ask this again, becouse nobody=
 has
> > > tell me anythig, and I need to find a way to use some window librarie=
 to
> > > allow opengl rendering and be able to run the same program on linux a=
nd
> > > windows, any info?? PLEASE!!! ... I mean "ANY" info...please.
> >
> > > and one finall question, what is the current status of some kind of
> > > "databindings" on the gtk-widgets??
> >
> > > Thanks.
> >
> > > Mauricio.
> >
> > Hi. I have found an opengl widget for GtkSharp, haven't tested it yet. =
It is
> > called GtkGl# (surprisingly enough :-) )
> >
> > It can be found here: http://www.olympum.com/~bruno/gtkgl-sharp.html
> >
> > Check it out, tell me if it answer your needs. Maybe I'll use it too so=
meday
> > :-)
> >
> > Itai.
> >
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> >
>=20
> --
> AM.
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>