Inheritance: GLArea
Beispiel #1
0
    public MainWindow() : base(Gtk.WindowType.Toplevel)
    {
        Build();
        this.Title             = "Cadmio";
        glw                    = new GLWidget();
        glw.MotionNotifyEvent += OnGlMotionNotifyEvent;
        glw.MouseMove         += OnGLMouseMove;
        glw.TreeUpdated       += OnGLTreeUpdated;

        vbGl.PackStart(glw, true, true, 0);
        ShowAll();
    }
Beispiel #2
0
    public MainWindow()
        : base(Gtk.WindowType.Toplevel)
    {
        Build ();
        this.Title = "Cadmio";
        glw = new GLWidget();
         	glw.MotionNotifyEvent += OnGlMotionNotifyEvent;
        glw.MouseMove += OnGLMouseMove;
        glw.TreeUpdated += OnGLTreeUpdated;

        vbGl.PackStart (glw,true,true,0);
        ShowAll();
    }