Пример #1
0
 public void Emit(GLWindow glWindow, bool visibility)
 {
     Interop.GLWindowVisibilityChangedSignal.Emit(SwigCPtr, GLWindow.getCPtr(glWindow), visibility);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
        public void GLWindowConstructor()
        {
            tlog.Debug(tag, $"GLWindowConstructor START");
            string    name      = "myGLWindow";
            Rectangle rectangle = new Rectangle(20, 20, 100, 100);
            GLWindow  a1        = new GLWindow(name, rectangle, true);

            GLWindow a2 = new GLWindow();
            GLWindow a3 = new GLWindow(GLWindow.getCPtr(a1).Handle, true);

            a1.Destroy();
            a2.Destroy();
            a3.Destroy();
            tlog.Debug(tag, $"GLWindowConstructor END (OK)");
            Assert.Pass("GLWindowConstructor");
        }
Пример #3
0
 public GLWindowVisibilityChangedEvent(GLWindow glWindow) : this(Interop.GLWindowVisibilityChangedSignal.GetSignal(GLWindow.getCPtr(glWindow)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }