Thanks for heads-up Gerald. I'm going to have to give that a try!
Marc
Gerald Bauer wrote:
Hello,
Has anyone tried out using MyXAML for Gtk# running on Mono yet? Does anyone plan to?
To get started using Gtk# and Mono O'Reilly now has an article online titled "Using the Gtk Toolkit with Mono" by Niel M. Bornstein. See http://www.ondotnet.com/pub/a/dotnet/2004/08/09/gtk_mono.htm
For example, the following Gtk# code looks like made for an XML UI rendition:
Window window = new Window("Simple Application");
Label label = new Label("Name");
Entry entry = new Entry();
Button button = new Button("Hello!");
window.DeleteEvent += new DeleteEventHandler(window_DeleteEvent);
button.Clicked += new
EventHandler(button_Clicked);
VBox vbox = new VBox();
HBox hbox = new HBox(); hbox.PackStart(label, false, false, 12); hbox.PackStart(entry, false, false, 12); vbox.PackStart(hbox); vbox.PackStart(button, false, false, 12);
window.Add(vbox); window.SetDefaultSize(200, 100);
Any thoughts? Any comments?
- Gerald
------------------- Gerald Bauer
XUL Alliance | http://xul.sourceforge.net United XAML | http://xaml.sourceforge.net
Interested in hiring Gerald Bauer? Yes, I'm available.
If you know of an opportunity in Toronto or Vancouver, please contact me today.
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ xul-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xul-talk
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ xul-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xul-talk
