MCPcopy Create free account
hub / github.com/SimHacker/micropolis / TkTextLostSelection

Function TkTextLostSelection

micropolis-activity/src/tk/tktext.c:1154–1173  ·  view source on GitHub ↗
(clientData)

Source from the content-addressed store, hash-verified

1152 * grabbed away from a text widget.
1153 *
1154 * Results:
1155 * None.
1156 *
1157 * Side effects:
1158 * The "sel" tag is cleared from the window.
1159 *
1160 *----------------------------------------------------------------------
1161 */
1162
1163void
1164TkTextLostSelection(clientData)
1165 ClientData clientData; /* Information about text widget. */
1166{
1167 register TkText *textPtr = (TkText *) clientData;
1168
1169 if (!textPtr->exportSelection) {
1170 return;
1171 }
1172
1173 /*
1174 * Just remove the "sel" tag from everything in the widget.
1175 */
1176

Callers

nothing calls this directly

Calls 3

TkTextRedrawTagFunction · 0.85
TkBTreeNumLinesFunction · 0.85
TkBTreeTagFunction · 0.85

Tested by

no test coverage detected