public void Append(CameraWidget child)
		{
			ErrorCode result;
	
			result = gp_widget_append(this.Handle, child.Handle);
			
			if (Error.IsError(result)) throw Error.ErrorException(result);
		}
Ejemplo n.º 2
0
        public CameraWidget GetChild(int n)
        {
            IntPtr native;

            Error.CheckError(gp_widget_get_child(this.Handle, n, out native));
            CameraWidget child = new CameraWidget(native);

            return(child);
        }
Ejemplo n.º 3
0
        public CameraWidget GetRoot()
        {
            IntPtr native;

            Error.CheckError(gp_widget_get_root(this.Handle, out native));
            CameraWidget root = new CameraWidget(native);

            return(root);
        }
Ejemplo n.º 4
0
        public CameraWidget GetChild(string label)
        {
            IntPtr native;

            Error.CheckError(gp_widget_get_child_by_label(this.Handle, label, out native));
            CameraWidget child = new CameraWidget(native);

            return(child);
        }
Ejemplo n.º 5
0
        public CameraWidget GetChildByID(int id)
        {
            IntPtr native;

            Error.CheckError(gp_widget_get_child_by_id(this.Handle, id, out native));
            CameraWidget child = new CameraWidget(native);

            return(child);
        }
Ejemplo n.º 6
0
        public void Prepend(CameraWidget child)
        {
            ErrorCode result;

            result = gp_widget_prepend(this.Handle, child.Handle);

            if (Error.IsError(result))
            {
                throw Error.ErrorException(result);
            }
        }
Ejemplo n.º 7
0
        public CameraWidget GetRoot()
        {
            ErrorCode result;
            IntPtr    native;

            result = gp_widget_get_root(this.Handle, out native);
            CameraWidget root = new CameraWidget(native);

            if (Error.IsError(result))
            {
                throw Error.ErrorException(result);
            }
            return(root);
        }
Ejemplo n.º 8
0
        public CameraWidget GetChildByID(int id)
        {
            ErrorCode result;
            IntPtr    native;

            result = gp_widget_get_child_by_id(this.Handle, id, out native);
            CameraWidget child = new CameraWidget(native);

            if (Error.IsError(result))
            {
                throw Error.ErrorException(result);
            }
            return(child);
        }
Ejemplo n.º 9
0
        public CameraWidget GetChild(string label)
        {
            ErrorCode result;
            IntPtr    native;

            result = gp_widget_get_child_by_label(this.Handle, label, out native);

            CameraWidget child = new CameraWidget(native);

            if (Error.IsError(result))
            {
                throw Error.ErrorException(result);
            }
            return(child);
        }
		public CameraWidget GetRoot ()
		{
			ErrorCode result;
			IntPtr native;

			result = gp_widget_get_root (this.Handle, out native);
			CameraWidget root = new CameraWidget(native);

			if (Error.IsError(result)) throw Error.ErrorException(result);
			return root;
		}
		public CameraWidget GetChildByID (int id)
		{
			ErrorCode result; 			
			IntPtr native;
			
			result = gp_widget_get_child_by_id(this.Handle, id, out native);
			CameraWidget child = new CameraWidget (native);
			
			if (Error.IsError(result)) throw Error.ErrorException(result);
			return child;
		}
		public CameraWidget GetChild (string label)
		{
			ErrorCode result;
			IntPtr native;
			
			result = gp_widget_get_child_by_label(this.Handle, label, out native);
			
			CameraWidget child = new CameraWidget (native);
			
			if (Error.IsError(result)) throw Error.ErrorException(result);
			return child;
		}
Ejemplo n.º 13
0
        public CameraWidget GetChild(int n)
        {
            IntPtr native;

            Error.CheckError(gp_widget_get_child(this.Handle, n, out native));
            CameraWidget child = new CameraWidget(native);

            return child;
        }
Ejemplo n.º 14
0
 public void Prepend(CameraWidget child)
 {
     Error.CheckError(gp_widget_prepend(this.Handle, child.Handle));
 }
Ejemplo n.º 15
0
 public void Append(CameraWidget child)
 {
     Error.CheckError(gp_widget_append(this.Handle, child.Handle));
 }
Ejemplo n.º 16
0
        public CameraWidget GetRoot()
        {
            IntPtr native;

            Error.CheckError(gp_widget_get_root (this.Handle, out native));
            CameraWidget root = new CameraWidget(native);

            return root;
        }
Ejemplo n.º 17
0
        public CameraWidget GetChildByID(int id)
        {
            IntPtr native;

            Error.CheckError(gp_widget_get_child_by_id(this.Handle, id, out native));
            CameraWidget child = new CameraWidget (native);

            return child;
        }
Ejemplo n.º 18
0
        public CameraWidget GetChild(string label)
        {
            IntPtr native;

            Error.CheckError(gp_widget_get_child_by_label(this.Handle, label, out native));
            CameraWidget child = new CameraWidget (native);

            return child;
        }