I have seen very simple text editors done with Tkinter (Python native GUI library). But very basic stuff, and I think it dont cover all you need.
In Pyglet I do not know what has been made in that field. I know some people use it as a GUI (have seen somo cool GUI extensios to Pyglet, like buttons, scrollers and GUi stuff), and that it has a lot of potencial (it is great for building power point like apps), but a notpad I have not seen yet. But it would be great, it can be useful for a lot of projects (games, with text based interaction, and apps). If you start working in something like that, please post info in this mailing list, because I would love to follow something like that, I can imagine a lot of cool stuff with that. I think it would not be very hard to do something like that, because pyglet has a lot of potential for GUI sttuff. I have some ideas and needs regarding text editors, because I am not a default programmer, I am an Humanistics student and researcher, that loves informatic and have learned a lot by himself (I have used pyglet to make a sketch prototype of a game that teachs language vocabulary). But very simple stuff. So I can not help very much, I am not a to programmer, just indie simple stuff (but learning and growing). I hope somebody can help you more. Keep updating info if possible about your projet, It would be cool to see this done with Pyglet. Regards Sábado, 10 de Agosto de 2013 3:11:25 UTC+1, Kevin Ar18 escreveu: > > Please ignore my previous email. Google groups rejected my email when I > didn't confirm subscription, and then I forgot to re-add the subject when I > reposted. :( again, sorry > > > DISCLAIMER: > I am NOT asking anyone to make this for me; I just want to find out if > something like this has already been made, before I take all the time to > code it from scratch (or pick another option). > > > Ok, I'll admit that this is the epitome of laziness, but I was wondering > if anyone has made or released a very simple text editor (made in pyglet) > -- which I could then use as a starting point in making a simple app? > > Basically, I want a small note-taking program, but I want to modify the > save and load so that it stores the files in a certain way. > > The simplest solution would be to find a very simple open source notepad > and edit the save and load functions. :) But... I didn't really want to go > with C++ right now. Another option is wxwidgets or Python ctypes+the win32 > api, but I didn't like that route, so figured I might try pyglet. :) > > Since it's just a simple little program for me and a few other people to > use, if almost feels like a waste to spend so much time writing a simple > working textfield when the core program might take even less time ... and > then all my work only benefits 2 or 3 people. :( > > So... before I go "reinventing the wheel" I thought I might ask first: > Has anyone made a simple notepad-style program ... or even just a > feature-complete textfield? > ... and if so, is it available anywhere online under something like > BSD,MIT,PublicDomain that allows me to use it? > > By feature-complete text editing, I mean all the features you would expect > from an OS native textfield: > * cursor placement with mouse/keyboard > * wordwrap > * a working scrollbar (for long documents) > * clipboard support (aka copy & paste) > * selection of text (so you can copy & paste) > * the ability to read/write the data as seen in the textfield so I can > save and load it from a file > > I realize that pyglet separates handling of events from the displaying of > textfields, but I think you get the idea. > > On another note: would something like this actually be useful to anyone > else? If I do have to go about writing it all from scratch, it might make > it more fun if I could actually make something that other people would > benefit from (although be warned, don't expect great code, especially since > I've never used pyglet's API before). > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.