Inheritance: Gtk.Window
Ejemplo n.º 1
0
        public TestMain()
        {
            TestWindowAccessibleFactory.Init ();
            window = new TestWindow ("At-spi-sharp test application");
            window.AddChild ();
            window.SetDefaultSize (600, 400);
            window.DeleteEvent += new DeleteEventHandler (WindowDelete);

            window.ShowAll ();
        }
Ejemplo n.º 2
0
 public TestWindowAccessible(GLib.Object widget)
     : base()
 {
     this.window = widget as TestWindow;
     text = string.Empty;
     Role = Atk.Role.Frame;
     attributes = new Dictionary<string, string> ();
     attributes ["left-margin"] = "2.0";
     links = new List<Hyperlink> ();
     links.Add (new Hyperlink ( 5, 26, "http://www.novell.com"));
     links.Add (new Hyperlink (55, 76, "http://www.google.com"));
 }