(tkwin, pixmap)
| 1385 | { |
| 1386 | register TkWindow *winPtr = (TkWindow *) tkwin; |
| 1387 | |
| 1388 | winPtr->atts.background_pixel = pixel; |
| 1389 | |
| 1390 | if (winPtr->window != None) { |
| 1391 | XSetWindowBackground(winPtr->display, winPtr->window, pixel); |
| 1392 | } else { |
| 1393 | winPtr->dirtyAtts = (winPtr->dirtyAtts & ~CWBackPixmap) |
| 1394 | | CWBackPixel; |
| 1395 | } |
| 1396 | } |
| 1397 | |
| 1398 | void |
| 1399 | Tk_SetWindowBackgroundPixmap(tkwin, pixmap) |
| 1400 | Tk_Window tkwin; /* Window to manipulate. */ |
| 1401 | Pixmap pixmap; /* Pixmap to use for window's |
| 1402 | * background. */ |
| 1403 | { |
| 1404 | register TkWindow *winPtr = (TkWindow *) tkwin; |
| 1405 | |
| 1406 | winPtr->atts.background_pixmap = pixmap; |
| 1407 |
nothing calls this directly
no outgoing calls
no test coverage detected