[python-win32] Simple scintilla example
Martin DeMello
martindemello at gmail.com
Wed Aug 4 09:41:04 CEST 2004
Hi,
I'm trying to get a simple program running to open a new scintilla
window. Here's what I tried:
>>> import win32ui
>>> template = pywin.mfc.docview.DocTemplate(None)
>>> doc = pywin.scintilla.document.CScintillaDocument(template)
>>> view = pywin.scintilla.view.CScintillaView(doc)
>>> fr = win32ui.GetMainFrame()
>>> view.CreateWindow(fr)
Which appeared to do something (at least, the interpreter didn't
complain), but then I got stuck trying to display the view. Any
pointers?
martin
More information about the Python-win32
mailing list