February 08, 2006 HelloWorld in wxD | ||||
---|---|---|---|---|
| ||||
Another snippet, all in the name of GUI comparisons: import wx.wx; public class HelloWorldApp : App { public override bool OnInit() { Frame frame = new Frame(null, wxID_ANY, "Hello wxWidgets World"); frame.CreateStatusBar(); frame.SetStatusText("Hello World"); frame.Show(true); return true; } } int main() { HelloWorldApp app = new HelloWorldApp(); app.Run(); return 0; } Screenshots at http://wxd.sourceforge.net/Hello.html --anders |
Copyright © 1999-2021 by the D Language Foundation