Lines Matching defs:gc
1742 GC gc;
1794 * Choose the gc for drawing the foreground part of the entry.
1798 gc = mePtr->activeGC;
1799 if (gc == NULL) {
1800 gc = menuPtr->activeGC;
1805 gc = mePtr->disabledGC;
1806 if (gc == NULL) {
1807 gc = menuPtr->disabledGC;
1810 gc = mePtr->textGC;
1811 if (gc == NULL) {
1812 gc = menuPtr->textGC;
1846 gc, 0, 0, (unsigned) width, (unsigned) height, leftEdge,
1852 TkDisplayChars(menuPtr->display, Tk_WindowId(tkwin), gc,
1857 TkUnderlineChars(menuPtr->display, Tk_WindowId(tkwin), gc,
1883 TkDisplayChars(menuPtr->display, Tk_WindowId(tkwin), gc,
1893 gc = mePtr->indicatorGC;
1894 if (gc == None) {
1895 gc = menuPtr->indicatorGC;
1911 XFillRectangle(menuPtr->display, Tk_WindowId(tkwin), gc,
1935 XFillPolygon(menuPtr->display, Tk_WindowId(tkwin), gc,