]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/wx/tools/XRCed/README.txt
docstring update
[wxWidgets.git] / wxPython / wx / tools / XRCed / README.txt
... / ...
CommitLineData
1********************************************************************************
2
3 XRCed README
4
5********************************************************************************
6
7System requirements
8-------------------
9
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).
12
13wxPython must be compiled with XRC support.
14
15
16Short manual
17------------
18
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
24To start xrced, change to the directory where you installed it and run
25"python2.2 xrced.py".
26
27On UNIX you can edit wrapper script "xrced.sh" to point to your installation
28directory.
29
30To create an object, first you should select some object in the tree (or the
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.
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
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.
43
44Pressed Shift key changes the place for inserting new child to be before
45selected child, not after as by default.
46
47Panel on the right contains object properties. Properties which are optional
48should be "checked" first. This panel can be made separate by unchecking
49"Embed Panel" in View menu.
50
51All properties can be edited as text, and some are supplied with special
52editing controls.
53
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
58To display the preview window double-click a top-level object (you should
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
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
63"View->Auto-refresh" or toolbar auto-refresh button (to the right of the
64refresh button).
65
66--------------------------------------------------------------------------------
67
68Copyright 2001-2003 Roman Rolinsky <rollrom@xrced.sourceforge.net>