(tkwin, pixel)
| 1404 | register TkWindow *winPtr = (TkWindow *) tkwin; |
| 1405 | |
| 1406 | winPtr->atts.background_pixmap = pixmap; |
| 1407 | |
| 1408 | if (winPtr->window != None) { |
| 1409 | XSetWindowBackgroundPixmap(winPtr->display, |
| 1410 | winPtr->window, pixmap); |
| 1411 | } else { |
| 1412 | winPtr->dirtyAtts = (winPtr->dirtyAtts & ~CWBackPixel) |
| 1413 | | CWBackPixmap; |
| 1414 | } |
| 1415 | } |
| 1416 | |
| 1417 | void |
| 1418 | Tk_SetWindowBorder(tkwin, pixel) |
| 1419 | Tk_Window tkwin; /* Window to manipulate. */ |
| 1420 | unsigned long pixel; /* Pixel value to use for |
| 1421 | * window's border. */ |
| 1422 | { |
| 1423 | register TkWindow *winPtr = (TkWindow *) tkwin; |
| 1424 | |
| 1425 | winPtr->atts.border_pixel = pixel; |
nothing calls this directly
no outgoing calls
no test coverage detected