Hi, first post (and probably very long) and looking for lots of information.
I'm not really looking for exact code but more after example code to reuse (and learn from). (Below is the current thing I need help with and further down the background story :)) Current issues: --------------- My first task is to get going using text-files. - Creating new files - Saving files - Open files Background: ----------- Napkin is going to be an editor to ease the creation of user made content (UMC) for the game Battle of Wesnoth (www.wesnoth.org). Most Wesnoth UMC is made using WML (Wesnoth Markup Language) similar to xml but with added preprocessor and [] instead of <>. (The other parts are binary files (images, music) and to a lesser extent python (to create custom AIs)). WML is fairly strict in what can go where and there are also a few conventions that are good to follow. I've decided to use the python/gtk/glade combo for various reasons (one of them being: finally learning python) I'm aiming at something like: - A main window that is split into 3 areas -- right: a panel with all relevant files (and dirs, open/closed) with the currently open ones in bold (the ones with non-saved changes in bold-italic) -- center: the main editing area (with syntax highlighting and auto-completion) -- right: a tabbed reference/doc section (with tabs for WML, pythonAI and lengthier HOWTOs) - lots of wizards to insert relevant text into one or more documents - snippets (like wizards, but without the GUI to fill in relevant information) - etc Ok, that's it for now, I hope that this is a good place to ask. And remember I'm mainly asking for places to look for information. I've read to pyGtk-tut and googeling around but haven't found sufficient information (I assume you have more specific links). /tsr _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
