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

Function Tk_NameToWindow

micropolis-activity/src/tk/tkwindow.c:1560–1577  ·  view source on GitHub ↗
(interp, pathName, tkwin)

Source from the content-addressed store, hash-verified

1558 *
1559 * Given a string name for a window, this procedure
1560 * returns the token for the window, if there exists a
1561 * window corresponding to the given name.
1562 *
1563 * Results:
1564 * The return result is either a token for the window corresponding
1565 * to "name", or else NULL to indicate that there is no such
1566 * window. In this case, an error message is left in interp->result.
1567 *
1568 * Side effects:
1569 * None.
1570 *
1571 *----------------------------------------------------------------------
1572 */
1573
1574Tk_Window
1575Tk_NameToWindow(interp, pathName, tkwin)
1576 Tcl_Interp *interp; /* Where to report errors. */
1577 char *pathName; /* Path name of window. */
1578 Tk_Window tkwin; /* Token for window: name is assumed to
1579 * belong to the same main window as tkwin. */
1580{

Callers 15

PieMenuWidgetCmdFunction · 0.85
Tk_FocusCmdFunction · 0.85
Tk_PlaceCmdFunction · 0.85
ConfigureSlaveFunction · 0.85
DoConfigFunction · 0.85
Tk_PackCmdFunction · 0.85
PackAfterFunction · 0.85
Tk_SendCmdFunction · 0.85
Tk_SelectionCmdFunction · 0.85
Tk_BindCmdFunction · 0.85
Tk_DestroyCmdFunction · 0.85
Tk_TkwaitCmdFunction · 0.85

Calls 1

Tcl_AppendResultFunction · 0.85

Tested by

no test coverage detected