/ast/src/lib/libtk/unix/ |
H A D | tkUnixEvent.c | 64 XFlush(dispPtr->display); 65 if (XQLength(dispPtr->display) > 0) { 69 (ClientData)ConnectionNumber(dispPtr->display), TCL_UNIX_FD); 118 (ClientData) ConnectionNumber(dispPtr->display), TCL_UNIX_FD); 120 numFound = XEventsQueued(dispPtr->display, QueuedAfterReading); 149 XNoOp(dispPtr->display); 150 XFlush(dispPtr->display); 154 numFound = XQLength(dispPtr->display); 162 XNextEvent(dispPtr->display, &event);
|
H A D | tkUnixXId.c | 36 * for each display. 46 * for the same display. */ 53 static XID AllocXId _ANSI_ARGS_((Display *display)); 66 * a given display. 72 * The official allocator for the display is set up to be Tk_AllocXID. 80 * display. */ 83 dispPtr->defaultAllocProc = dispPtr->display->resource_alloc; 84 dispPtr->display->resource_alloc = AllocXId; 96 * for a display. 110 AllocXId(display) [all...] |
H A D | tkUnixCursor.c | 27 Display *display; /* Display for which cursor is valid. */ member in struct:__anon424 160 Display *display = Tk_Display(tkwin); 199 if (XParseColor(display, Tk_Colormap(tkwin), argv[1], 209 if (XParseColor(display, Tk_Colormap(tkwin), argv[2], 219 dispPtr->cursorFont = XLoadFont(display, CURSORFONT); 225 cursor = XCreateGlyphCursor(display, dispPtr->cursorFont, 242 if (XReadBitmapFile(display, 256 if (XParseColor(display, Tk_Colormap(tkwin), argv[1], 262 cursor = XCreatePixmapCursor(display, source, source, 265 if (XReadBitmapFile(display, 159 Display *display = Tk_Display(tkwin); local 349 Display *display = Tk_Display(tkwin); local [all...] |
H A D | tkUnixDraw.c | 23 Display *display; /* Display to filter. */ member in struct:ScrollInfo 74 info.display = Tk_Display(tkwin); 85 XSync(info.display, False); 129 if (info->done || (eventPtr->xany.display != info->display)
|
H A D | tkUnixWm.c | 68 Tk_Uid titleUid; /* Title to display in window caption. If 70 Tk_Uid iconName; /* Name to display in icon. */ 286 Display *display; /* Window belongs to this display. */ member in struct:WaitRestrictInfo 322 static int WaitForEvent _ANSI_ARGS_((Display *display, 379 * Default the maximum dimensions to the size of the display, minus 475 XSetWMName(winPtr->display, winPtr->window, &textProp); 482 XSetIconName(winPtr->display, winPtr->window, wmPtr->iconName); 486 XSetTransientForHint(winPtr->display, winPtr->window, 494 XSetCommand(winPtr->display, winPt [all...] |
H A D | tkUnixPort.h | 114 #define TkPutImage(colors, ncolors, display, pixels, gc, image, destx, desty, srcx, srcy, width, height) \ 115 XPutImage(display, pixels, gc, image, destx, desty, srcx, \
|
/ast/src/lib/libtk/generic/ |
H A D | tkError.c | 25 static int (*defaultHandler) _ANSI_ARGS_((Display *display, 33 static int ErrorProc _ANSI_ARGS_((Display *display, 80 Tk_CreateErrorHandler(display, error, request, minorCode, errorProc, clientData) 81 Display *display; /* Display for which to handle 102 * Find the display. If Tk doesn't know about this display then 106 dispPtr = TkGetDisplay(display); 108 panic("Unknown display passed to Tk_CreateErrorHandler"); 125 errorPtr->firstRequest = NextRequest(display); 170 errorPtr->lastRequest = NextRequest(dispPtr->display) [all...] |
H A D | tkGC.c | 22 * based on the display and GC identifier. 27 Display *display; /* Display to which gc belongs. */ member in struct:__anon400 41 Display *display; /* Display for which GC is valid. */ member in struct:__anon401 42 int screenNum; /* screen number of display */ 47 * Hash table for <display + GC> -> TkGC mapping. This table is used by 53 Display *display; /* Display for which GC was allocated. */ member in struct:__anon402 238 valueKey.display = Tk_Display(tkwin); 265 DefaultDepth(valueKey.display, valueKey.screenNum)) { 266 d = RootWindow(valueKey.display, valueKey.screenNum); 268 d = Tk_GetPixmap(valueKey.display, [all...] |
H A D | tkCursor.c | 35 Display *display; /* Display for which cursor will be used. */ member in struct:__anon393 51 Display *display; /* Display on which cursor will be used. */ member in struct:__anon394 55 * Hash table that maps from <display + cursor id> to the TkCursor structure 61 Display *display; /* Display for which cursor was allocated. */ member in struct:__anon395 118 nameKey.display = Tk_Display(tkwin); 140 idKey.display = nameKey.display; 209 dataKey.display = Tk_Display(tkwin); 222 if (XParseColor(dataKey.display, Tk_Colormap(tkwin), fg, &fgColor) == 0) { 227 if (XParseColor(dataKey.display, Tk_Colorma [all...] |
H A D | tkBitmap.c | 44 Display *display; /* Display for which bitmap is valid. */ member in struct:__anon385 63 * Hash table that maps from <display + bitmap id> to the TkBitmap structure 69 Display *display; /* Display for which bitmap was allocated. */ member in struct:__anon387 226 bitmapPtr->display = Tk_Display(tkwin); 229 idKey.display = bitmapPtr->display; 316 Tk_NameOfBitmap(display, bitmap) 317 Display *display; /* Display for which bitmap was 331 idKey.display = display; [all...] |
H A D | tkColor.c | 33 * each color that this module has allocated from the X display 49 * to delete it, and to find its display. */ 70 Display *display; /* Display for colormap. */ member in struct:__anon391 83 Display *display; /* Display for colormap. */ member in struct:__anon392 113 * colormaps for the display. */ 121 static void DeleteStressedCmap _ANSI_ARGS_((Display *display, 164 Display *display = Tk_Display(tkwin); 177 nameKey.display = display; 194 if (XAllocNamedColor(display, nameKe 163 Display *display = Tk_Display(tkwin); local 280 Display *display = Tk_Display(tkwin); local [all...] |
H A D | tkWindow.c | 162 static char *display; variable 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 390 Display *display; local [all...] |
H A D | tkFont.c | 32 * displaying character, display a replacement 37 * SKIP: Don't display anything for this character. This 60 Display *display; /* Display to which font belongs. */ member in struct:__anon397 79 Display *display; /* Display for which font is valid. */ member in struct:__anon398 174 nameKey.display = Tk_Display(tkwin); 187 fontStructPtr = XLoadQueryFont(nameKey.display, name); 195 fontPtr->display = nameKey.display; 301 * Tk_FreeXId(fontPtr->display, (XID) fontPtr->fontStructPtr->fid); 304 XFreeFont(fontPtr->display, fontPt [all...] |
H A D | tkGrab.c | 90 Display *display; /* Display from which to discard events. */ member in struct:__anon403 113 * the grabWinPtr field of a display. This event guarantees that 121 Window grabWindow; /* New grab window for display. This is 391 XQueryPointer(dispPtr->display, winPtr->window, &dummy1, 409 XUngrabPointer(dispPtr->display, CurrentTime); 410 serial = NextRequest(dispPtr->display); 424 grabResult = XGrabPointer(dispPtr->display, winPtr->window, 452 grabResult = XGrabKeyboard(dispPtr->display, Tk_WindowId(tkwin), 455 XUngrabPointer(dispPtr->display, CurrentTime); 537 serial = NextRequest(dispPtr->display); [all...] |
H A D | tkAtom.c | 82 * for this window's display. */ 99 atom = XInternAtom(dispPtr->display, name, False); 123 * on tkwin's display, then the string "?bad atom?" is returned. 135 * display. */ 152 handler= Tk_CreateErrorHandler(dispPtr->display, BadAtom, 154 name = XGetAtomName(dispPtr->display, atom); 181 * Initialize atom-related information for a display.
|
H A D | tkCanvPoly.c | 83 Tk_Item *itemPtr, Display *display)); 85 Tk_Item *itemPtr, Display *display, Drawable dst, 425 DeletePolygon(canvas, itemPtr, display) 428 Display *display; /* Display containing window for 440 Tk_FreeBitmap(display, polyPtr->fillStipple); 446 Tk_FreeGC(display, polyPtr->outlineGC); 449 Tk_FreeGC(display, polyPtr->fillGC); 510 * coordinates and display it using a particular GC. 523 TkFillPolygon(canvas, coordPtr, numPoints, display, drawable, gc, outlineGC) 530 Display *display; /* Displa [all...] |
H A D | tkSend.c | 45 * A registry of all interpreters for a display is kept in a 46 * property "InterpRegistry" on the root window of the display. 61 int locked; /* Non-zero means that the display was 217 static void AppendPropCarefully _ANSI_ARGS_((Display *display, 248 * This procedure loads the name registry for a display into 292 XGrabServer(dispPtr->display); 300 result = XGetWindowProperty(dispPtr->display, 301 RootWindow(dispPtr->display, 0), 321 XDeleteProperty(dispPtr->display, 322 RootWindow(dispPtr->display, [all...] |
H A D | tkFocus.c | 389 * given display in a given application. 404 * its display and application. */ 513 winPtr->mainPtr->focusSerial = NextRequest(winPtr->display); 514 XNoOp(winPtr->display); 528 * window for its application and display. 533 * display, or NULL if none. 544 * and a display. */ 681 event.xfocus.serial = LastKnownRequestProcessed(winPtr->display); 683 event.xfocus.display = winPtr->display; [all...] |
H A D | tkVisual.c | 45 * colormap allocated for a display by Tk_GetColormap. 61 struct TkColormap *nextPtr; /* Next in list of colormaps for this display, 454 Tk_FreeColormap(display, colormap) 455 Display *display; /* Display for which colormap was 467 * Find Tk's information about the display, then see if this 469 * won't be an entry for it in the display's list). 472 dispPtr = TkGetDisplay(display); 474 panic("unknown display passed to Tk_FreeColormap"); 481 XFreeColormap(display, colormap); 517 Tk_PreserveColormap(display, colorma [all...] |
H A D | tkMenubutton.c | 29 Display *display; /* Display containing widget. Needed, among member in struct:__anon410 41 char *text; /* Text to display in button (malloc'ed) 48 Pixmap bitmap; /* Bitmap to display or None. If not None 51 char *imageString; /* Name of image to display (malloc'ed), or 54 Tk_Image image; /* Image to display in window, or NULL if 61 Tk_Uid state; /* State of button for display purposes: 121 int textWidth; /* Width needed to display text as requested, 123 int textHeight; /* Height needed to display text as requested, 125 int indicatorOn; /* Non-zero means display indicator; 0 means 126 * don't display [all...] |
H A D | tkTest.c | 167 Display *display, Drawable drawable, 172 Display *display)); 435 event.xany.display = Tk_Display(tkwin); 545 number = XKeysymToKeycode(event.xany.display, keysym); 965 ImageDisplay(clientData, display, drawable, imageX, imageY, width, height, 968 Display *display; /* Display to use for drawing. */ 979 sprintf(buffer, "%s display %d %d %d %d %d %d", 990 XDrawRectangle(display, drawable, instPtr->gc, drawableX, drawableY, 992 XDrawLine(display, drawable, instPtr->gc, drawableX, drawableY, 994 XDrawLine(display, drawabl [all...] |
H A D | tkInt.h | 55 * One of the following structures is maintained for each display 60 Display *display; /* Xlib's info about display. */ member in struct:TkDisplay 62 char *name; /* Name of display (with any screen 65 * display. */ 98 * for this display. NULL means 127 * selection on this display. */ 212 XID (*defaultAllocProc) _ANSI_ARGS_((Display *display)); 213 /* Default resource allocator for display. */ 240 * allocated for this display 417 Display *display; /* Display containing window. */ member in struct:TkWindow [all...] |
/ast/src/lib/libtk/library/demos/ |
H A D | dialog2.tcl | 13 set i [tk_dialog .dialog2 "Dialog with local grab" {This dialog box uses a global grab, so it prevents you from interacting with anything on your display until you invoke one of the buttons below. Global grabs are almost always a bad idea; don't use them unless you're truly desperate.} warning 0 OK Cancel {Show Code}]
|
/ast/src/lib/libast/comp/ |
H A D | fmtmsglib.c | 165 p->display = s; 189 display(register const MM_table_t* tab, int value, int mask) 194 return (char*)tab->display; 294 if ((mask & MM_severity) && (s = display(mm_severity, severity, 0))) 318 if ((mask & MM_source) && (m = classification & (MM_APPL|MM_UTIL|MM_OPSYS)) && (s = display(mm_class, m, 1))) 320 if ((mask & MM_class) && (m = classification & (MM_HARD|MM_SOFT|MM_FIRM)) && (s = display(mm_class, m, 1))) 322 if ((mask & MM_status) && (m = classification & (MM_RECOVER|MM_NRECOV)) && (s = display(mm_class, m, 1)))
|
H A D | fmtmsg.h | 50 /* classification display */ 91 const char* display; member in struct:__anon249
|