Example #1
0
        public XWindow(XWindow parent, int x, int y, int w, int h, bool option)
        {
            EcoreXWindowNew func;

            if (option)
            {
                func = new EcoreXWindowNew(ecore_x_window_override_new);
            }
            else
            {
                func = new EcoreXWindowNew(ecore_x_window_override_new);
            }

            objRaw    = new HandleRef(this, func(parent.Raw, x, y, w, h));
            Dnd       = new XDnd(this);
            Selection = new XSelection(this);
        }
Example #2
0
 public XDnd(XWindow w)
 {
     win = w;
 }
Example #3
0
 public XSelection(XWindow w)
 {
     win = w;
 }
Example #4
0
 public void Reparent(XWindow new_parent, int x, int y)
 {
     ecore_x_window_reparent(Raw, new_parent.Raw, x, y);
 }
Example #5
0
 public void Configure(ConfigureMask mask, int x, int y, int w, int h,
                       int border_width, XWindow sibling, int stack_mode)
 {
     ecore_x_window_configure(Raw, mask, x, y, w, h, border_width,
                              sibling.Raw, stack_mode);
 }
Example #6
0
 /* FIXME - we need to see what happens if the user passed 'null'
  * instead of a valid window
  */
 public XWindow(XWindow parent, int x, int y, int w, int h)
 {
     objRaw    = new HandleRef(this, ecore_x_window_new(parent.Raw, x, y, w, h));
     Dnd       = new XDnd(this);
     Selection = new XSelection(this);
 }
Example #7
0
	   public XDnd(XWindow w)
	   {
		   win = w;
	   }
Example #8
0
        public static XWindow XWindowInput(XWindow parent, int x, int y, int w, int h)
        {
            IntPtr win = ecore_x_window_input_new(parent.Raw, x, y, w, h);

            return(new XWindow(win));
        }
Example #9
0
	   public void Reparent(XWindow new_parent, int x, int y)
	   {
		   ecore_x_window_reparent(Raw, new_parent.Raw, x, y);
	   }
Example #10
0
	   public XSelection(XWindow w)
	   {
		   win = w;
	   }
Example #11
0
	   public void Configure(ConfigureMask mask, int x, int y, int w, int h,
				 int border_width, XWindow sibling, int stack_mode)
	   {
		   ecore_x_window_configure(Raw, mask, x, y, w, h, border_width,
					    sibling.Raw, stack_mode);
	   }
Example #12
0
	   public XWindow (XWindow parent, int x, int y, int w, int h, bool option)
	   {
		   EcoreXWindowNew func;

		   if(option)
		     func = new EcoreXWindowNew(ecore_x_window_override_new);
		   else
		     func = new EcoreXWindowNew(ecore_x_window_override_new);

		   objRaw = new HandleRef(this, func(parent.Raw, x, y, w, h));
		   Dnd = new XDnd(this);
		   Selection = new XSelection(this);
	   }
Example #13
0
	   /* FIXME - we need to see what happens if the user passed 'null'
	    * instead of a valid window
	    */
	   public XWindow (XWindow parent, int x, int y, int w, int h)
	   {
		   objRaw = new HandleRef(this, ecore_x_window_new(parent.Raw, x, y, w, h));
		   Dnd = new XDnd(this);
		   Selection = new XSelection(this);
	   }
Example #14
0
	   public static XWindow XWindowInput (XWindow parent, int x, int y, int w, int h)
	   {
		   IntPtr win = ecore_x_window_input_new (parent.Raw, x, y, w, h);
		   return new XWindow (win);
	   }
Example #15
0
	   public EcoreEventDndEnter(IntPtr EventInfo)
	   {
		   _EcoreEventDndEnter e = new _EcoreEventDndEnter();
		   e = (_EcoreEventDndEnter)Marshal.PtrToStructure(EventInfo, typeof(_EcoreEventDndEnter));
		   win = new XWindow(e.win);
		   src = new XWindow(e.src);
		   types = Common.PtrToStringArray(e.num_types, e.types);
		   num_types = e.num_types;
	   }