Lines Matching refs:xlib
10 import xlib
21 self._display = xlib.XOpenDisplay(display_name)
22 self._window = xlib.XDefaultRootWindow(self._display)
28 xlib.XFlush(self._display)
45 xlib.XSelectInput(self._display, self._window, ctypes.c_long(0))
76 valuator_names.append(xlib.XGetAtomName(reader._display,
85 return xlib.XConnectionNumber(reader._display)
106 while xlib.XPending(self._display):
107 xevent = xlib.XEvent()
108 xlib.XNextEvent(self._display, ctypes.pointer(xevent))
112 result = xlib.XGetEventData(self._display, ctypes.pointer(cookie))
113 if (not result or cookie.type != xlib.GenericEvent):