MCPcopy Create free account
hub / github.com/dreamer/roberta / open_display

Method open_display

xlib.py:29–35  ·  view source on GitHub ↗

Adapts: Display *XOpenDisplay(char *display_name); See: man 3 xopendisplay

(self)

Source from the content-addressed store, hash-verified

27 self.dpy = None
28
29 def open_display(self):
30 """Adapts: Display *XOpenDisplay(char *display_name);
31
32 See: man 3 xopendisplay
33 """
34 self.dpy = self.lib.XOpenDisplay(None)
35 return self.dpy
36
37 def close_display(self):
38 """Adapts: int XCloseDisplay(Display *);

Callers 1

query_screensFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected