diff options
author | Just van Rossum <just@letterror.com> | 2001-12-30 21:25:26 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2001-12-30 21:25:26 (GMT) |
commit | cae6da632a46096fc0013198c2ecef14a3e4e891 (patch) | |
tree | e403a8cd88892257415103d0ee794032a338a47e /Mac/Modules/ctl/ctlscan.py | |
parent | 85f98143b7860dbbe791535450e5c94b67cb1bc9 (diff) | |
download | cpython-cae6da632a46096fc0013198c2ecef14a3e4e891.zip cpython-cae6da632a46096fc0013198c2ecef14a3e4e891.tar.gz cpython-cae6da632a46096fc0013198c2ecef14a3e4e891.tar.bz2 |
- added support for ControlActionProcs, exposing the following calls:
- ctl.SetControlAction()
- CreateScrollBarControl()
- CreateSliderControl()
- print traceback when callbacks fail
Diffstat (limited to 'Mac/Modules/ctl/ctlscan.py')
-rw-r--r-- | Mac/Modules/ctl/ctlscan.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mac/Modules/ctl/ctlscan.py b/Mac/Modules/ctl/ctlscan.py index 61f79eb..2677f73 100644 --- a/Mac/Modules/ctl/ctlscan.py +++ b/Mac/Modules/ctl/ctlscan.py @@ -88,6 +88,7 @@ class MyScanner(Scanner): 'GetControlPropertySize', 'SendControlMessage', # Parameter changed from long to void* from UH3.3 to UH3.4 'CreateTabsControl', # wrote manually + 'GetControlAction', # too much effort for too little usefulness # too lazy for now 'GetImageWellContentInfo', @@ -259,7 +260,7 @@ class MyScanner(Scanner): def makeblacklisttypes(self): return [ 'ProcPtr', - 'ControlActionUPP', +# 'ControlActionUPP', 'Ptr', 'ControlDefSpec', # Don't know how to do this yet 'ControlDefSpec_ptr', # ditto @@ -319,6 +320,9 @@ class MyScanner(Scanner): ([("ControlButtonContentInfo", '*', "OutMode")], [("ControlButtonContentInfo", '*', "InMode")]), + + ([("ControlActionUPP", 'liveTrackingProc', "InMode")], + [("ControlActionUPPNewControl", 'liveTrackingProc', "InMode")]), ] if __name__ == "__main__": |