Hi Andrea,
In the ANN: RibbonBar thread, you wrote:
The trouble is, I haven't got any new ideas for new widgets. I am actually
playing with a pure-Python version of a Mac-like Dock (or BubbleBar,
or FishEye menu or whatever you like), but it's just an eye-catching
small thing. I am always open to suggestions
I have a suggestion, though it is a rather large project to do.
Before I mention it, thanks again for the RibbonBar and the newest
work on GUI2Exe, they both are great additions.
The suggestion: A fully (mostly) functional RichTextCtrl (RTC).
I only mention this one because you have taken things that are written
in C++ and "translated" them to pure Python (like AUI). This seems like
a big class that may not be anywhere as able to be redone in Python, but
I really don't know. The current wxRichTextCtrl has been around for about
three years and started life with a list of important features that were still
missing. One of the most important of those is living up to its name: being
able to read and save actual rich text. Right now if you copy formatted text
from the web or from a Word or OpenOffice document, and paste it into the
RTC, you lose all the formatting, and just get plain text pasted in. Likewise,
if you have a nice block of formatted text, with bolds and italics and such,
and copy it into the clipboard and past it into Word, you again lose all the
formatting. The only way to sort of get it into Word or OO is to save it as
HTML, then load it as HTML, but then to go from that to a .doc file or just
a .rtf file is not really possible. For those who want to be able to write
something within their Python app and use it elsewhere, this is a deal
breaker. It's a shame, since .NET apps get this sort of thing
automatically, AFAIK and users would be really put off to not have
"standard" word processing-like behavior in a rich text control. Text
areas really should integrate seamlessly with the web and with word
processing programs.
I had wanted to have something to serve as a small low-featured "word
pad" in Python, for use in a planned app that I was hoping to do, and
was pleased when RTC came out, but it never seemed to get updated.
I'd written Julian Smart, its author, and he was very nice about
it and had hoped someone might come through with the code to add rft
(not to mention the other key features like bullets and justified text, a few
bugs worked out, and some other things) but just isn't able to get to the
updates and I assume they will never happen. Apparently going to RTF
is pretty tricky.
I write you about this off-list because I didn't want to pester the
issue/Julian
again publicly. I don't know C++ and so have no hope of being helpful on this
one, but I thought I'd at least run this by you. I'm actually
surprised that three
years have gone by and there hasn't been enough developer interest to see this
through to a truly functional control.
My other interest in wxPython is more support for gradients on panels in
terms of allowing controls to allow the gradient to show through on Windows.
I now replace all staticTextCtrls with drawn-on text, but might eventually try
to make generic checkboxes and radiobuttons for the same purpose.
Thanks again for all your awesome contributions to wxPython!
Che