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

Aurélien Massoutier Aurélien Massoutier
Sat, 30 Apr 2005 12:58:50 +0200


(sorry for my bad English, it is not my native language)

Hi Miguel, 

I'm a GTK# beginner, so that's the point of you of a simple GTK# beginner :)

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 ?

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.

- 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 = myTreeView.Selection;
if(sel.GetSelected(out model, out iter)) {
    int thing = (int)model.GetValue( iter, 5 );

And so on.

A simple thing like that could not be possible ? :
int thing = (int) myTreeView.EntrySelected(5);

or, even better, a thing like that :
MyObject my = (MyObject) myTreeView.EntrySelected();

Regards,
(and thanks for mono !)

On 4/29/05, Itai Bar-Haim <itbh@012.net.il> wrote:
> > sorry, forget the tutorials stuff, I see in mono Windows instalation al=
l
> the
> > Gtk samples in GtkSharp with C#.
> 
> > But, wath about the OpenGl-Widget??, I ask this again, becouse nobody h=
as
> > tell me anythig, and I need to find a way to use some window librarie t=
o
> > allow opengl rendering and be able to run the same program on linux and
> > 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 some=
day
> :-)
> 
> Itai.
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 


-- 
AM.