コード例 #1
0
		public void Append(CameraWidget child)
		{
			ErrorCode result;
	
			result = gp_widget_append(this.Handle, child.Handle);
			
			if (Error.IsError(result)) throw Error.ErrorException(result);
		}
コード例 #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);
        }
コード例 #3
0
        public CameraWidget GetRoot()
        {
            IntPtr native;

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

            return(root);
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #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);
            }
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #10
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;
		}
コード例 #11
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;
		}
コード例 #12
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;
		}
コード例 #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;
        }
コード例 #14
0
 public void Prepend(CameraWidget child)
 {
     Error.CheckError(gp_widget_prepend(this.Handle, child.Handle));
 }
コード例 #15
0
 public void Append(CameraWidget child)
 {
     Error.CheckError(gp_widget_append(this.Handle, child.Handle));
 }
コード例 #16
0
        public CameraWidget GetRoot()
        {
            IntPtr native;

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

            return root;
        }
コード例 #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;
        }
コード例 #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;
        }