diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-12-06 00:00:17 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-12-06 00:00:17 (GMT) |
commit | 67ff6d9930ae7fdb79f7034b65834488f188bd38 (patch) | |
tree | 474f894ea5de95111d76953618970dd19e0667c4 /Mac/Modules/help | |
parent | da78a5d5b6867ba412afd9edd9fc2a3ddd71fe60 (diff) | |
download | cpython-67ff6d9930ae7fdb79f7034b65834488f188bd38.zip cpython-67ff6d9930ae7fdb79f7034b65834488f188bd38.tar.gz cpython-67ff6d9930ae7fdb79f7034b65834488f188bd38.tar.bz2 |
Finished update to UH 3.4.2.
Diffstat (limited to 'Mac/Modules/help')
-rw-r--r-- | Mac/Modules/help/_Helpmodule.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Mac/Modules/help/_Helpmodule.c b/Mac/Modules/help/_Helpmodule.c index 0da66cc..b9c9599 100644 --- a/Mac/Modules/help/_Helpmodule.c +++ b/Mac/Modules/help/_Helpmodule.c @@ -131,6 +131,19 @@ static PyObject *Help_HMSetDialogHelpFromBalloonRsrc(PyObject *_self, PyObject * return _res; } +static PyObject *Help_HMHideTag(PyObject *_self, PyObject *_args) +{ + PyObject *_res = NULL; + OSStatus _err; + if (!PyArg_ParseTuple(_args, "")) + return NULL; + _err = HMHideTag(); + if (_err != noErr) return PyMac_Error(_err); + Py_INCREF(Py_None); + _res = Py_None; + return _res; +} + static PyMethodDef Help_methods[] = { {"HMGetHelpMenu", (PyCFunction)Help_HMGetHelpMenu, 1, PyDoc_STR("() -> (MenuRef outHelpMenu, MenuItemIndex outFirstCustomItemIndex)")}, @@ -146,6 +159,8 @@ static PyMethodDef Help_methods[] = { PyDoc_STR("(MenuRef inMenu, SInt16 inHmnuRsrcID) -> None")}, {"HMSetDialogHelpFromBalloonRsrc", (PyCFunction)Help_HMSetDialogHelpFromBalloonRsrc, 1, PyDoc_STR("(DialogPtr inDialog, SInt16 inHdlgRsrcID, SInt16 inItemStart) -> None")}, + {"HMHideTag", (PyCFunction)Help_HMHideTag, 1, + PyDoc_STR("() -> None")}, {NULL, NULL, 0} }; |