]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/tools/XRCed/README
compilation/build fixes for wxUniv
[wxWidgets.git] / wxPython / tools / XRCed / README
... / ...
CommitLineData
1********************************************************************************
2
3 XRCed README
4
5********************************************************************************
6
7Installation on UNIX
8--------------------
9
10XRCed was developed using Python 2.1.1. xml.dom.minidom module should be
11available. XML support requires Expat package (http://expat.sourceforge.net),
12and you have to uncomment expat lines in Modules/Setup file of Python source:
13
14EXPAT_DIR=$(HOME)/expat
15pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat
16
17wxPython version used was 2.3.1, which itself uses wxGTK 2.3.1. wxPython
18should be modified to support some extra functions. To update it, go to
19wxPython source directory and untar "wxPython-update.tgz" (included with
20xrced) file there. Then recompile (run "b 21" for example) it and install as
21usual (or you can set your environment to use it from the source tree).
22
23
24Short manual
25------------
26
27To start xrced, change to the directory where you installed it and run
28"python2.1 xrced.py".
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 right
32(in another sense now :) ) command. The pulldown menu is context-dependent on
33the selected object.
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 Control key before clicking the mouse.
40
41Same applies for copy/paste, but at the moment Control key is ignored.
42
43Panel on the right contains object properties. Properties which are optional
44should be "checked" first. XMLID of the object is the textbox to the right of
45the class name.
46
47All properties can be edited as text, and some are supplied with special
48editing controls.
49
50To display the preview window double-click a top-level object (you should
51assign an XMLID to it first). After that, if you select a child object, it
52becomes highlighted, and if you change it, preview is updated when you select
53another item or press Ctrl-R (refresh). To turn off automatic update, toggle
54"View->Auto-refresh" or toolbar auto-refresh button (to the right of refresh
55button).
56
57
58--------------------------------------------------------------------------------
59
60Copyright 2001 Roman Rolinsky <rolinsky@mema.ucl.ac.be>