]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wx/tools/XRCed/README.txt
'[1219035] cleanup: miscellaneous' and minor source cleaning.
[wxWidgets.git] / wxPython / wx / tools / XRCed / README.txt
CommitLineData
09f3d4e6
RD
1********************************************************************************
2
3 XRCed README
4
5********************************************************************************
6
8b9a4190
RD
7System requirements
8-------------------
09f3d4e6 9
8b9a4190
RD
10XRCed requires wxWindows and wxPython greater or equal to 2.3.3, and
11Python 2.2 or newer (it may work with earlier version, but was not tested).
09f3d4e6 12
8b9a4190 13wxPython must be compiled with XRC support.
09f3d4e6 14
09f3d4e6
RD
15
16Short manual
17------------
18
f0c20d94
RD
19XRCed's idea is very straightforward: it is a visual tool for editing an XML
20file conforming to XRC format. Every operation performed in XRCed has direct
21correspondence to XML structure. So it is not really a usual point-and-click
22GUI builder, but don't let that scare you.
23
09f3d4e6 24To start xrced, change to the directory where you installed it and run
f0c20d94
RD
25"python2.2 xrced.py".
26
27On UNIX you can edit wrapper script "xrced.sh" to point to your installation
28directory.
09f3d4e6
RD
29
30To create an object, first you should select some object in the tree (or the
f0c20d94
RD
31root item if it's empty) then press the right mouse button and select an
32appropriate command. The pulldown menu is context-dependent on the selected
33object.
09f3d4e6
RD
34
35XRCed tries to guess if new object should be added as a next sibling or a
36child of current object, depending on the possibility of the object to have
37child objects and expanded state (if tree item is collapsed, new object will
38be sibling). You can change this behavior to create siblings by pressing and
f0c20d94
RD
39holding the Shift and Control keys before clicking the mouse.
40
41Pressed Control key while pressing right button makes next item a sibling of
42selected item regardless of its expanded state.
09f3d4e6 43
f0c20d94
RD
44Pressed Shift key changes the place for inserting new child to be before
45selected child, not after as by default.
09f3d4e6
RD
46
47Panel on the right contains object properties. Properties which are optional
f0c20d94
RD
48should be "checked" first. This panel can be made separate by unchecking
49"Embed Panel" in View menu.
09f3d4e6
RD
50
51All properties can be edited as text, and some are supplied with special
52editing controls.
53
f0c20d94
RD
54The names of the properties are exactly as in XRC file, and it's usually not
55hard to guess what they do. XML ID is the name of the window, and must be
56present for top-level windows (though this is not enforced by XRCed).
57
09f3d4e6 58To display the preview window double-click a top-level object (you should
f0c20d94
RD
59assign an XMLID to it first), press "Test" toolbar button or select command
60from View menu, or press F5. After that, if you select a child object, it
09f3d4e6
RD
61becomes highlighted, and if you change it, preview is updated when you select
62another item or press Ctrl-R (refresh). To turn off automatic update, toggle
f0c20d94
RD
63"View->Auto-refresh" or toolbar auto-refresh button (to the right of the
64refresh button).
09f3d4e6
RD
65
66--------------------------------------------------------------------------------
67
8b9a4190 68Copyright 2001-2003 Roman Rolinsky <rollrom@xrced.sourceforge.net>