Esempio n. 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);
        }
Esempio n. 2
0
 public XDnd(XWindow w)
 {
     win = w;
 }
Esempio n. 3
0
 public XSelection(XWindow w)
 {
     win = w;
 }
Esempio n. 4
0
 public void Reparent(XWindow new_parent, int x, int y)
 {
     ecore_x_window_reparent(Raw, new_parent.Raw, x, y);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 7
0
	   public XDnd(XWindow w)
	   {
		   win = w;
	   }
Esempio n. 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));
        }
Esempio n. 9
0
	   public void Reparent(XWindow new_parent, int x, int y)
	   {
		   ecore_x_window_reparent(Raw, new_parent.Raw, x, y);
	   }
Esempio n. 10
0
	   public XSelection(XWindow w)
	   {
		   win = w;
	   }
Esempio n. 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);
	   }
Esempio n. 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);
	   }
Esempio n. 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);
	   }
Esempio n. 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);
	   }
Esempio n. 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;
	   }