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

Christopher Nehren apeiron+usenet@coitusmentis.info
Tue, 26 Apr 2005 18:42:37 +0000 (UTC)

Hash: SHA1

On 2005-04-26, Miguel de Icaza scribbled these
curious markings:
> Hello,
>    As people develop applications with Gtk#, I would love to hear
> people's opinion on what we can do to make Gtk# better.  

Better? I'm practically drooling on it right now. :)

>         * What things do you find obnoxious, annoying about Gtk#?

The fact that I need to do casting to use MessageDialogs. Consider the
following code:

<-- cut -->
MessageDialog md = new MessageDialog(this.w,
                                       "Quit No Name Browser?");
                       ResponseType ret = (ResponseType)md.Run();
<-- cut -->

I don't like that cast to ResponseType that's preceding the md.Run()
call. Am I missing something (quite likely) here? IMO, casting is for
those still using C. I like that C# mostly obviates the requirement for
casting. If a newer version removes the need for casting, I'll
definitely be drooling on it.

>         * What kind of tutorials you would like to see?

The obvious: the C GTK+ tutorial translated to C#. I'd volunteer to
write it myself, but there's a bit of a chicken and egg problem. I can't
write the tutorial because I don't know enough about it to write it, and
I don't feel that I can learn enough about it to write it because I
can't read it to learn enough about it to write it. :P

Best Regards,
Christopher Nehren
Version: GnuPG v1.4.1 (FreeBSD)


I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong questions, you get answers like "42" and "God".
Unix is user friendly. However, it isn't idiot friendly.