(tkwin, pixmap)
| 1422 | { |
| 1423 | register TkWindow *winPtr = (TkWindow *) tkwin; |
| 1424 | |
| 1425 | winPtr->atts.border_pixel = pixel; |
| 1426 | |
| 1427 | if (winPtr->window != None) { |
| 1428 | XSetWindowBorder(winPtr->display, winPtr->window, pixel); |
| 1429 | } else { |
| 1430 | winPtr->dirtyAtts = (winPtr->dirtyAtts & ~CWBorderPixmap) |
| 1431 | | CWBorderPixel; |
| 1432 | } |
| 1433 | } |
| 1434 | |
| 1435 | void |
| 1436 | Tk_SetWindowBorderPixmap(tkwin, pixmap) |
| 1437 | Tk_Window tkwin; /* Window to manipulate. */ |
| 1438 | Pixmap pixmap; /* Pixmap to use for window's |
| 1439 | * border. */ |
| 1440 | { |
| 1441 | register TkWindow *winPtr = (TkWindow *) tkwin; |
| 1442 | |
| 1443 | winPtr->atts.border_pixmap = pixmap; |
| 1444 |
nothing calls this directly
no outgoing calls
no test coverage detected