Permalink
Browse files

Sample gui.cs test

  • Loading branch information...
1 parent 2c60f39 commit 5d32c8eb3130ee75498c590581da3395351ba640 @migueldeicaza migueldeicaza committed Jan 20, 2011
Showing with 13 additions and 0 deletions.
  1. +13 −0 gtest.cs
View
@@ -0,0 +1,13 @@
+using Mono.Terminal;
+
+class Test {
+ static void Main ()
+ {
+ Application.Init (false);
+ var d = new Container (0, 0, Application.Cols, Application.Lines);
+
+ d.Add (new Label (10, 10, "Text"));
+ d.Add (new Entry (16, 10, 20, "Edit me"));
+ Application.Run (d);
+ }
+}

0 comments on commit 5d32c8e

Please sign in to comment.