summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXInit.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2022-09-19 03:53:31 (GMT)
committermarc_culler <marc.culler@gmail.com>2022-09-19 03:53:31 (GMT)
commit74e03e32278cc4b3e3d09ca564aed76ae0a177aa (patch)
treeaf5ebbaafd7b658a6c4f0086bf4a51b6b85efc76 /macosx/tkMacOSXInit.c
parentad1635f1155cf8b19a8142e79c3dca98d64daf41 (diff)
downloadtk-74e03e32278cc4b3e3d09ca564aed76ae0a177aa.zip
tk-74e03e32278cc4b3e3d09ca564aed76ae0a177aa.tar.gz
tk-74e03e32278cc4b3e3d09ca564aed76ae0a177aa.tar.bz2
Document the nsimage image type and make a few minor adjustments.
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r--macosx/tkMacOSXInit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
index 8045483..06e0346 100644
--- a/macosx/tkMacOSXInit.c
+++ b/macosx/tkMacOSXInit.c
@@ -625,6 +625,8 @@ TkpInit(
Tcl_SetVar2(interp, "auto_path", NULL, scriptPath,
TCL_GLOBAL_ONLY|TCL_LIST_ELEMENT|TCL_APPEND_VALUE);
}
+ Tcl_CreateObjCommand(interp, "nsimage",
+ TkMacOSXNSImageObjCmd, NULL, NULL);
Tcl_CreateObjCommand(interp, "::tk::mac::standardAboutPanel",
TkMacOSXStandardAboutPanelObjCmd, NULL, NULL);
Tcl_CreateObjCommand(interp, "::tk::mac::iconBitmap",