Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17479
Added Files:
multiresourceEditor.py
Log Message:
Initial check-in for the multi-component resource Editor.
--- NEW FILE: multiresourceEditor.py ---
#!/usr/bin/python
"""
__version__ = "$Revision: 1.1 $"
__date__ = "$Date: 2005/07/27 21:45:54 $"
"""
# TODO: Start using exceptions!
import os, sys, string, copy
import pprint
import webbrowser
import wx
from PythonCard import about, clipboard, configuration, dialog, graphic, log
from PythonCard import menu, model, registry, resource, util
from PythonCard.templates.dialogs import runOptionsDialog
[...2166 lines suppressed...]
event.skip()
except:
event.skip()
def on_showPythonCardDocumentation_command(self, event):
global pythoncard_url
webbrowser.open(pythoncard_url)
def on_showResourceEditorDocumentation_command(self, event):
global resourceeditor_url
webbrowser.open(resourceeditor_url)
if __name__ == '__main__':
# now force the property editor to be enabled
#configuration('showPropertyEditor', 1)
#configuration('showShell', 1)
app = model.Application(ResourceEditor)
app.MainLoop()
|