[Boa Constr] Contrib: makepy dialog for Boa
Status: Beta
Brought to you by:
riaan
From: Mike C. F. <mcf...@ho...> - 2001-03-25 09:21:38
|
I wanted to play around with Boa as an IDE a little more, so I decided I'd make a MakePy dialog for it (a Win32COM thing that lets you auto-generate wrappers for COM controls). It's slightly more advanced than the dialog in PythonWin, as it lets you search for libraries. This isn't particularly beautiful, but it does seem to work. Eventually you'd want to create Design-time controls and options on the design palette for each wrapped control (maybe even scanning the gen_py directory for controls generated by other systems), but for now it's just a "tell it to generate a wrapper" dialog. Thoughts that have arisen as I worked: An option for PythonWin key bindings would be nice (is there a way to plug-in whole key-binding sets with minimal fuss?). Block indent/dedent mapped to tab/shift-tab is very useful Block-comment/uncomment mapped to Alt-3, Alt-4 is nice Ctrl-G mapped to Goto Option for tab-preservation/conversion wasn't immediately obvious in the interface, possibly in the preferences. Tools to tabify/untabify source are needed. Auto-complete windows a-la PythonWin are very helpful (for me anyway). Might be nice to have an option that makes the "interface" text get wrapped in _( ) for internationalisation (or whatever the standard is), with the files generated for translators on the side. The trace/error window doesn't appear until the client process completes and doesn't seem to update if I have to kill the client process. Makes it hard to use with mis-behaving apps. Option in the inspector to auto-generate shortcuts would be cool. Would be good to have option to auto-generate a test-harness application for dialogs/frames. See the attached for a simplistic harness. Module attached, enjoy yourselves, Mike __________________________________ Mike C. Fletcher Designer, VR Plumber http://members.home.com/mcfletch |