[Gtk-sharp-list] Anyone tried out MyXAML for Gtk# to create UIs using XML?

Gerald Bauer luxorxul@yahoo.ca
Tue, 10 Aug 2004 10:19:11 -0400 (EDT)


   Has anyone tried out using MyXAML for Gtk# running
on Mono yet to create UIs using XML? Does anyone plan
   For example, the following Gtk# code taken from the
O'Reilly article titled "Using the Gtk Toolkit with
Mono" by Niel M. Bornstein online @
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

    VBox vbox = new VBox();

    HBox hbox = new HBox();
    hbox.PackStart(label, false, false, 12);
    hbox.PackStart(entry, false, false, 12);
    vbox.PackStart(button, false, false, 12);

    window.SetDefaultSize(200, 100);

   Any thoughts? Any comments?

  - Gerald

PS: What is MyXAML?

MyXAML is a free, open source parser in C# that lets
you script your Mono/.NET classes using XML. See
http://www.myxaml.com for details or
http://xul.sourceforge.net/counter.html#myxaml for a
MyXAML markup sample in action.

Gerald Bauer

XUL Alliance | http://xul.sourceforge.net  
United XAML  | http://xaml.sourceforge.net

Post your free ad now! http://personals.yahoo.ca