modifying widgets?

This might be way off base, but I am just throwing it out there.

Is it possible to modify some of the basic features of the widgets
included in wxPython? In my case, I wanted to see if I could dink
around with the RichTextCtrl, for example, to save to .html without it
all being in a table, and seeing what else I could change.

When I look at the richtext.py file, at the top it starts with this message:

# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.

I have no sense of what to do or whether there is anything I can do.
SWIG is what Robin uses to wrap the C++ into Python, yes?

Maybe I have been exposed to too much cold today, but just wondering
what is possible. Thanks.

Che

C M wrote:

This might be way off base, but I am just throwing it out there.

Is it possible to modify some of the basic features of the widgets
included in wxPython? In my case, I wanted to see if I could dink
around with the RichTextCtrl, for example, to save to .html without it
all being in a table, and seeing what else I could change.

When I look at the richtext.py file, at the top it starts with this message:

# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.

I have no sense of what to do or whether there is anything I can do.
SWIG is what Robin uses to wrap the C++ into Python, yes?

Maybe I have been exposed to too much cold today, but just wondering
what is possible. Thanks.

The wxRichTextCtrl is written in C++ so in order to modify it you will need to do it in C++. The Python RichTextCtrl class is just a simple wrapper or proxy around the C++ code.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!