Lines Matching refs:tkwin
80 * suitable colormap for use with the visual in tkwin, and it
90 Tk_GetVisual(interp, tkwin, string, depthPtr, colormapPtr)
93 Tk_Window tkwin; /* Window in which visual will be
112 TkDisplay *dispPtr = ((TkWindow *) tkwin)->dispPtr;
123 * same screen as tkwin, then just use its visual. Otherwise
128 tkwin2 = Tk_NameToWindow(interp, string, tkwin);
133 if (Tk_Screen(tkwin) == Tk_Screen(tkwin2)) {
170 *colormapPtr = DefaultColormapOfScreen(Tk_Screen(tkwin));
172 *depthPtr = DefaultDepthOfScreen(Tk_Screen(tkwin));
173 return DefaultVisualOfScreen(Tk_Screen(tkwin));
241 template.screen = Tk_ScreenNumber(tkwin);
243 visInfoList = XGetVisualInfo(Tk_Display(tkwin), mask, &template,
278 == DefaultVisualOfScreen(Tk_Screen(tkwin))) {
316 if (visual == DefaultVisualOfScreen(Tk_Screen(tkwin))) {
317 *colormapPtr = DefaultColormapOfScreen(Tk_Screen(tkwin));
328 cmapPtr->colormap = XCreateColormap(Tk_Display(tkwin),
329 RootWindowOfScreen(Tk_Screen(tkwin)), visual,
367 Tk_GetColormap(interp, tkwin, string)
370 Tk_Window tkwin; /* Window where colormap will be
378 TkDisplay *dispPtr = ((TkWindow *) tkwin)->dispPtr;
387 cmapPtr->colormap = XCreateColormap(Tk_Display(tkwin),
388 RootWindowOfScreen(Tk_Screen(tkwin)), Tk_Visual(tkwin),
390 cmapPtr->visual = Tk_Visual(tkwin);
400 * visual as tkwin (which means, among other things, that the
404 other = Tk_NameToWindow(interp, string, tkwin);
408 if (Tk_Screen(other) != Tk_Screen(tkwin)) {
413 if (Tk_Visual(other) != Tk_Visual(tkwin)) {