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