Ronald Oussoren wrote:

Another option is PyObjC, it definitly allows you to integrate with the native Cocoa help API's.


Out of interest, does PyObjC play nicely with wxPython/Tkinter?

A further option, if it hasn't already been suggested, would be to call AHRegisterHelpBook directly via ctypes. Just because Python's Mac modules have all been deprecated and removed doesn't mean that all of the underlying OS X APIs have done the same. Some have (e.g. QuickTime, QuickDraw, and anything GUI-related are best avoided) but others are still fully supported.

Or, if futzing with ctypes is too much hassle, consider grabbing the source for the Carbon.AH extension and repackage it as part of the project. This is what I did with Carbon.AE when developing appscript, for example.

HTH

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to