wxWidgets/wxPython/wx/tools/XRCed
Robin Dunn 0fe9c32957 Make it possible for pywxrc to generate just the gettext _() strings
with no other code, and also make it possible to process more than one
XRC file at once into a single output module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 04:49:07 +00:00
..
src-images Removed unnecessary files, removed or replaced images that we're not 2005-05-24 20:55:42 +00:00
__init__.py Merged the wxPy_newswig branch into the HEAD branch (main trunk) 2003-11-12 21:34:20 +00:00
CHANGES.txt Second fix for Copy/Paste (using expat.native_encoding property). 2006-04-05 14:55:17 +00:00
encode_bitmaps.py Adds wxSplitterWindow support, patch from Steve Hartwell. 2004-04-29 22:32:23 +00:00
globals.py Ported XRCed to the wx namespace, and also enabled the selected, 2006-05-17 03:57:57 +00:00
images.py Removed unnecessary files, removed or replaced images that we're not 2005-05-24 20:55:42 +00:00
license.txt Merged the wxPy_newswig branch into the HEAD branch (main trunk) 2003-11-12 21:34:20 +00:00
panel.py Ported XRCed to the wx namespace, and also enabled the selected, 2006-05-17 03:57:57 +00:00
params.py Ported XRCed to the wx namespace, and also enabled the selected, 2006-05-17 03:57:57 +00:00
README.txt 0.1.7-0 2005-11-11 00:23:31 +00:00
sawfishrc Merged the wxPy_newswig branch into the HEAD branch (main trunk) 2003-11-12 21:34:20 +00:00
TODO.txt Merged the wxPy_newswig branch into the HEAD branch (main trunk) 2003-11-12 21:34:20 +00:00
tools.py Ported XRCed to the wx namespace, and also enabled the selected, 2006-05-17 03:57:57 +00:00
tree.py Ported XRCed to the wx namespace, and also enabled the selected, 2006-05-17 03:57:57 +00:00
undo.py 0.1.7-0 2005-11-11 00:23:31 +00:00
XRCed_16.png Merged the wxPy_newswig branch into the HEAD branch (main trunk) 2003-11-12 21:34:20 +00:00
XRCed_32.png Merged the wxPy_newswig branch into the HEAD branch (main trunk) 2003-11-12 21:34:20 +00:00
xrced.ico Merged the wxPy_newswig branch into the HEAD branch (main trunk) 2003-11-12 21:34:20 +00:00
xrced.py Make it possible for pywxrc to generate just the gettext _() strings 2006-05-24 04:49:07 +00:00
xrced.sh Merged the wxPy_newswig branch into the HEAD branch (main trunk) 2003-11-12 21:34:20 +00:00
xrced.xrc Patch from Eli Golovinsky. Adds generation of _() code for gettext 2006-05-03 01:47:57 +00:00
xxx.py Ported XRCed to the wx namespace, and also enabled the selected, 2006-05-17 03:57:57 +00:00

********************************************************************************

 			          XRCed README

********************************************************************************

System requirements
-------------------

wxPython version must be recent enough to support all features (a warning
message is shown if not).


User requirements
-----------------

To use XRCed it is really important to be familiar with wxWindows class names
and at least partially with XRC resource format (read
wxWindows/doc/tech/tn0014.txt for reference).


Short manual
------------

XRCed's idea is very straightforward: it is a visual tool for editing an XML
file conforming to XRC format. Every operation performed in XRCed has direct
correspondence to XML structure. So it is not really a usual point-and-click
GUI builder, but don't let that scare you.

To start xrced, change to the directory where you installed it and run
"python2.2 xrced.py".

On UNIX you can edit wrapper script "xrced.sh" to point to your installation
directory.

To create an object, first you should select some object in the tree (or the
root item if it's empty) then press the right mouse button and select an
appropriate command. The pulldown menu is context-dependent on the selected
object.

XRCed tries to guess if new object should be added as a next sibling or a
child of current object, depending on the possibility of the object to have
child objects and expanded state (if tree item is collapsed, new object will
be sibling). You can change this behavior to create siblings by pressing and
holding the Shift and Control keys before clicking the mouse.

Pressed Control key while pressing right button makes next item a sibling of
selected item regardless of its expanded state.

Pressed Shift key changes the place for inserting new child to be before
selected child, not after as by default.

Panel on the right contains object properties. Properties which are optional
should be "checked" first. This panel can be made separate by unchecking
"Embed Panel" in View menu.

All properties can be edited as text, and some are supplied with special
editing controls.

When no 'Edit' button is provided for editing a property's value, it is
supposed to be copied verbatim to XRC file.

The names of the properties are exactly as in XRC file, and it's usually not
hard to guess what they do. "XML ID" is the name of the window, and must be
present for top-level windows (though this is not enforced by XRCed).

To display the preview window double-click a top-level object (you should
assign an XMLID to it first), press "Test" toolbar button or select command
from View menu, or press F5. After that, if you select a child object, it
becomes highlighted, and if you change it, preview is updated when you select
another item or press Ctrl-R (refresh). To turn off automatic update, toggle
"View->Auto-refresh" or toolbar auto-refresh button (to the right of the
refresh button). If you double-click a non-window object (a button for
example), then test view is created for a closest ancestor which is a window.


Bugs
----

- Some combinations of parent/child windows are not valid but possible to put
  into XML tree by using XRCed. Usually this produces a meaningful error
  message from XRC library when test view is opened.

- Be careful when replacing a non-empty container control with another class,
  and check parameters which can be copied from the previous object but not
  valid for the new one. Is it not possible to undo replacement yet.


--------------------------------------------------------------------------------

Copyright 2001-2005 Roman Rolinsky <rollrom@xrced.sourceforge.net>