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 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);
	   }