Lines Matching refs:tkwin

27     Tk_Window tkwin;		/* Window that embodies the scrollbar.  NULL
33 * freed even after tkwin has gone away. */
290 Tk_Window tkwin = (Tk_Window) clientData;
300 new = Tk_CreateWindowFromPath(interp, tkwin, argv[1], (char *) NULL);
312 scrollPtr->tkwin = new;
316 Tk_PathName(scrollPtr->tkwin), ScrollbarWidgetCmd,
352 Tk_SetClass(scrollPtr->tkwin, "Scrollbar");
353 Tk_CreateEventHandler(scrollPtr->tkwin,
360 interp->result = Tk_PathName(scrollPtr->tkwin);
364 Tk_DestroyWindow(scrollPtr->tkwin);
442 result = Tk_ConfigureValue(interp, scrollPtr->tkwin, configSpecs,
447 result = Tk_ConfigureInfo(interp, scrollPtr->tkwin, configSpecs,
450 result = Tk_ConfigureInfo(interp, scrollPtr->tkwin, configSpecs,
471 length = Tk_Height(scrollPtr->tkwin) - 1
475 length = Tk_Width(scrollPtr->tkwin) - 1
499 length = Tk_Height(scrollPtr->tkwin) - 1
503 length = Tk_Width(scrollPtr->tkwin) - 1
722 if (Tk_ConfigureWidget(interp, scrollPtr->tkwin, configSpecs,
749 Tk_SetBackgroundFromBorder(scrollPtr->tkwin, scrollPtr->bgBorder);
752 new = Tk_GetGC(scrollPtr->tkwin, GCForeground, &gcValues);
759 scrollPtr->copyGC = Tk_GetGC(scrollPtr->tkwin, GCGraphicsExposures,
799 register Tk_Window tkwin = scrollPtr->tkwin;
805 if ((scrollPtr->tkwin == NULL) || !Tk_IsMapped(tkwin)) {
810 width = Tk_Width(tkwin) - 2*scrollPtr->inset;
812 width = Tk_Height(tkwin) - 2*scrollPtr->inset;
826 pixmap = Tk_GetPixmap(scrollPtr->display, Tk_WindowId(tkwin),
827 Tk_Width(tkwin), Tk_Height(tkwin), Tk_Depth(tkwin));
837 Tk_DrawFocusHighlight(tkwin, gc, scrollPtr->highlightWidth, pixmap);
839 Tk_Draw3DRectangle(tkwin, pixmap, scrollPtr->bgBorder,
841 Tk_Width(tkwin) - 2*scrollPtr->highlightWidth,
842 Tk_Height(tkwin) - 2*scrollPtr->highlightWidth,
846 (unsigned) (Tk_Width(tkwin) - 2*scrollPtr->inset),
847 (unsigned) (Tk_Height(tkwin) - 2*scrollPtr->inset));
872 Tk_Fill3DPolygon(tkwin, pixmap, border, points, 3,
881 Tk_Fill3DPolygon(tkwin, pixmap, border, points, 3,
899 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength
902 points[1].y = Tk_Height(tkwin) - scrollPtr->inset;
905 Tk_Fill3DPolygon(tkwin, pixmap, border,
908 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength
913 points[2].x = Tk_Width(tkwin) - scrollPtr->inset;
915 Tk_Fill3DPolygon(tkwin, pixmap, border,
932 Tk_Fill3DRectangle(tkwin, pixmap, border,
937 Tk_Fill3DRectangle(tkwin, pixmap, border,
948 XCopyArea(scrollPtr->display, pixmap, Tk_WindowId(tkwin),
949 scrollPtr->copyGC, 0, 0, (unsigned) Tk_Width(tkwin),
950 (unsigned) Tk_Height(tkwin), 0, 0);
986 if (scrollPtr->tkwin != NULL) {
987 scrollPtr->tkwin = NULL;
1040 Tk_Window tkwin = scrollPtr->tkwin;
1044 * destroyed and the command was then deleted (in which case tkwin
1049 if (tkwin != NULL) {
1050 scrollPtr->tkwin = NULL;
1051 Tk_DestroyWindow(tkwin);
1085 width = (scrollPtr->vertical) ? Tk_Width(scrollPtr->tkwin)
1086 : Tk_Height(scrollPtr->tkwin);
1088 fieldLength = (scrollPtr->vertical ? Tk_Height(scrollPtr->tkwin)
1089 : Tk_Width(scrollPtr->tkwin))
1127 Tk_GeometryRequest(scrollPtr->tkwin,
1132 Tk_GeometryRequest(scrollPtr->tkwin,
1136 Tk_SetInternalBorder(scrollPtr->tkwin, scrollPtr->inset);
1169 length = Tk_Height(scrollPtr->tkwin);
1170 width = Tk_Width(scrollPtr->tkwin);
1175 length = Tk_Width(scrollPtr->tkwin);
1176 width = Tk_Height(scrollPtr->tkwin);
1226 if ((scrollPtr->tkwin == NULL) || (!Tk_IsMapped(scrollPtr->tkwin))) {