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