Lines Matching refs:display
162 static char *display;
171 {"-display", TK_ARGV_STRING, (char *) NULL, (char *) &display,
178 "Use synchronous mode for display server"},
330 * Given a string name for a display-plus-screen, find the
331 * TkDisplay structure for the display and return the screen
335 * The return value is a pointer to information about the display,
336 * or NULL if the display couldn't be opened. In this case, an
342 * A new connection is opened to the display if there is no
362 * Separate the screen number from the rest of the display
364 * <display>.<screen> with the dot and the screen being
371 "no display name and no $DISPLAY environment variable";
386 * See if we already have a connection to this display. If not,
392 Display *display;
394 display = XOpenDisplay(screenName);
395 if (display == NULL) {
396 Tcl_AppendResult(interp, "couldn't connect to display \"",
401 dispPtr->display = display;
448 if (screenId >= ScreenCount(dispPtr->display)) {
462 * Given an X display, TkGetDisplay returns the TkDisplay
463 * structure for the display.
466 * The return value is a pointer to information about the display,
467 * or NULL if the display did not have a TkDisplay structure.
476 TkGetDisplay(display)
477 Display *display; /* X's display pointer */
483 if (dispPtr->display == display) {
520 winPtr->display = dispPtr->display;
523 if ((parentPtr != NULL) && (parentPtr->display == winPtr->display)
528 winPtr->visual = DefaultVisual(dispPtr->display, screenNum);
529 winPtr->depth = DefaultDepth(dispPtr->display, screenNum);
543 if ((parentPtr != NULL) && (parentPtr->display == winPtr->display)
547 winPtr->atts.colormap = DefaultColormap(dispPtr->display, screenNum);
799 * occurred in creating the window (e.g. no such display or
861 * occurred in creating the window (e.g. no such display or
1086 LastKnownRequestProcessed(winPtr->display);
1088 event.xdestroywindow.display = winPtr->display;
1105 XDestroyWindow(winPtr->display, winPtr->window);
1117 dispPtr->lastDestroyRequest = NextRequest(winPtr->display);
1118 XDestroyWindow(winPtr->display, winPtr->window);
1225 XMapWindow(winPtr->display, winPtr->window);
1227 event.xmap.serial = LastKnownRequestProcessed(winPtr->display);
1229 event.xmap.display = winPtr->display;
1273 parent = XRootWindow(winPtr->display, winPtr->screenNum);
1309 XConfigureWindow(winPtr->display, winPtr->window,
1382 XUnmapWindow(winPtr->display, winPtr->window);
1387 event.xunmap.serial = LastKnownRequestProcessed(winPtr->display);
1389 event.xunmap.display = winPtr->display;
1426 XConfigureWindow(winPtr->display, winPtr->window,
1448 XMoveWindow(winPtr->display, winPtr->window, x, y);
1468 XResizeWindow(winPtr->display, winPtr->window, (unsigned) width,
1493 XMoveResizeWindow(winPtr->display, winPtr->window, x, y,
1513 XSetWindowBorderWidth(winPtr->display, winPtr->window,
1583 XChangeWindowAttributes(winPtr->display, winPtr->window,
1601 XSetWindowBackground(winPtr->display, winPtr->window, pixel);
1619 XSetWindowBackgroundPixmap(winPtr->display,
1638 XSetWindowBorder(winPtr->display, winPtr->window, pixel);
1656 XSetWindowBorderPixmap(winPtr->display,
1678 XDefineCursor(winPtr->display, winPtr->window, winPtr->atts.cursor);
1701 XSetWindowColormap(winPtr->display, winPtr->window, colormap);
1788 event.xconfigure.serial = LastKnownRequestProcessed(winPtr->display);
1790 event.xconfigure.display = winPtr->display;
1885 * Given an X display and window ID, this procedure returns the
1901 Tk_IdToWindow(display, window)
1902 Display *display; /* X display containing the window. */
1912 if (dispPtr->display == display) {
1930 * Return the textual name of a window's display.
1933 * The return value is the string name of the display associated
1944 Tk_Window tkwin; /* Window whose display name is desired. */
2122 XConfigureWindow(winPtr->display, winPtr->window, mask, &changes);
2200 * given display. Right now we can only deal with a bare-bones
2215 TkDisplay *dispPtr; /* Tk's structure for the display. */
2223 dispPtr->inputMethod = XOpenIM(dispPtr->display, NULL, NULL, NULL);
2346 name = display = geometry = colormap = visual = NULL;
2401 if (display != NULL) {
2403 args[argc+1] = display;
2408 * the display name in the DISPLAY environment variable so
2413 Tcl_SetVar2(interp, "env", "DISPLAY", display, TCL_GLOBAL_ONLY);