[wxPython-users] Pallavi 0.5: Text editor utilizing wxPython

Christopher Barker Chris.Barker at noaa.gov
Tue Sep 4 12:11:06 PDT 2007


Dusty Phillips wrote:

> Perhaps I should be replying there. I wouldn't want to impose on Sir
> Robin's hospitality for too long.

Good point -- this is my last post.

> I've been considering whether or not it will be necessary to replace
> STC with a more generic buffer. 

I'd say Rob's idea if having multiple possible "Views" onto a buffer is 
good one -- even if you only implement STC for now -- a full STC 
replacement would be a lot of work!

> Plus, I chose an MIT license
> because I can comprehed it (compare GPL)

That's not a very good reason to choose a license. There are a lot of 
good reason's not to choose GPL (or any one license), but I'd advise you 
to really find the one that best fits your needs. In short, the primary 
reason to NOT use the GPL is if you want people to be able to use your 
code in non-GPL's projects (which usually means you want with it used in 
proprietary projects). For something like an editor (rather than a 
library), I'm not sure why you'd want that.


> so I'm not sure how legal it is to borrow code from GPL'd editors.

It's not, unless the author gives you permission otherwise.

> Yet another aspect of the mammoth that wxPython is that I wasn't aware
> of. :-) I have (rather unsuccessfully) been trying to keep the STC and
> wx components as isolated from the rest of the code and plugins as
> possible. 

pubsub lives in the wx source tree -- but it's independent of wx.

>> that means that a plugin can only be tied to a single
>> top-level window?  Maybe I'm not reading your code correctly...
> 
> That's correct. Once I had thought of sending views as a (globally
> maintained) list of wx.Frames to plugins. Right now, the view is the
> main parent when it comes to communication. But I don't think it will
> be that hard to refactor it into some kind of "view manager". 

Sounds good.

> At any rate, as a result of Chris' request and your advice, I think
> I'll put multiple views on the todo list for 0.6.

Gee, thanks!

I guess I really need to join pyxides to...

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list