[Gtk-sharp-list] A simple xsl stylsheet to help glade users with the required c# code

Timohy Parez tpsoftware@users.sourceforge.net
Fri, 21 Nov 2003 10:58:47 +0100


Hello,

Glade offers support to generate the code required to use the glade
projects in C or C++ but it does not seem to offer the same for C#.

Because I was learning xsl I decided to write a simple stylesheet wich
generates such code (Without removing the use of glade, because that's
not what we want is it?)

It's not much, but perhaps a start for someone who knows a lot of xsl
to create a much more advanced stylesheet. 

I'm not sure it will even be usefull, but it helps me when I write glade
apps, it saves me the effort of typing in all the event handlers and
widgets.

For a live example:
http://xgboomer.europe.webmatrixhosting.net/glade2csharp/glade2csharp.aspx

Just enter the source of a .glade file in there.

If someone needs the xsl file, let me know. 

Timothy.