| : <?xml?> tool for |
|
||||||
IntroductionXRCed is a simple resource editor for wxWidgets/wxPython GUI development which supports creating and editing files in XRC format It is written in Python and uses wxPython GUI toolkit. OK, it's better to take a look at a screenshot first: This is a view of XRCed in action. On the left there's a tree of XML objects, and on the right side object's properties. For objects inside sizers there are additional sizeritem properties. The names of the objects are identical to the names of wxWidgets classes, and the names of the properties are the same as XML keywords. The user can modify existing objects, create new objects of any
class supported by XRC, cut, copy and paste individual objects or
sub-trees. Double-clicking a top-level object brings up a preview
window, and selected object is highlighted by a red rectangle. You
can find some more information in XRCed's README. Here is an example of a dialog created with XRCed
(XML tree is shown on the previous picture). Red box indicates
currently selected item (a wxStaticText object).
|
||||||
DocumentationAPI documentation is generated using Epydoc from XRCed's dource code. |
||||||
Download XRCedThere are 2 ways to get XRCed:
SawFish users may want to download this start-up script and copy/append it to .sawfishrc file in home, to avoid small focus problem when input focus is moved to the test window after it's refreshed, even if the pointer is inside the main window (if you know a better way to do this, let me know).
|
||||||
LinksXRC Guide from LDAP Explorer Tool project site. UsingXmlResources page from wxPyWiki. You can find links to other XRC editors there. Boa project is a Delphi-like IDE with an integrated GUI builder. It doesn't use XRC resource format, but directly generates Python code. SPE "Stani's python editor" -- Blender-compatible Python IDE with tons of features. Dimitri Pater wrote a nice XML resource tutorial on how to create a simple XRC file and a Python program that uses it.
|
||||||
Frequently Asked QuestionsQ: I can't use non-ascii characters in labels and menus.A: This can happen if your Python's sytem encoding is ascii and wxPython is non-unicode. Edit/create the file sitecustomize.py (should be somewhere in your PYTHONPATH), and put these magic lines:
import sys sys.setdefaultencoding('iso8859-1') # replace with encoding you want to be the default one MaillistThere is a maillist for XRCed-related questions: XRCed-users. To subscribe, send a request toxrced-users-request@lists.sourceforge.net Message should contain a line of this form: subscribe [password] [digest-option] [address=<address>] You can also subscribe or modify your options using web interface.
|
||||||
|