[Gtk-sharp-list] Re: Improving Gtk#
Thu, 28 Apr 2005 15:24:51 +0000 (UTC)
-----BEGIN PGP SIGNED MESSAGE-----
On 2005-04-26, Todd Berman scribbled these
> That cast is actually a very good thing. You can write dialogs that
> return custom response types. the Run method returning an integer allows
> this to work easily. The other way would work as well (returning as
> ResponseType, casting to int if needed) as long as the gtk# GEnum
> marshalling can handle it (I believe it can).
Ah, now that makes sense. A little bit of education goes a long way
towards understanding. :)
> Do you mean the GtkDemo? Available in the samples/GtkDemo/ directory of
> gtk#. Or is this a separate tutorial. If so, please send the url to the
> list, and if I get a chance, maybe I will translate it.
The GtkDemo is great, but I would greatly appreciate the code being
explained. For example, the UIManager sample in the gtk-sharp-devel
package isn't documented all that well. It looks like a sexy way to do
runtime menu generation (/me drools), and the description isn't very
elucidating. Also, references don't serve well as tutorials.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
-----END PGP SIGNATURE-----
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.