1 ********************************************************************************
 
   5 ********************************************************************************
 
  10 XRCed requires wxGTK and wxPython greater than 2.3.2, and Python 2.2 (it may
 
  11 work with earlier version, but was not tested).
 
  13 Of course wxGTK's XRC library (libwxxrc) must be installed.
 
  15 Installation on Windows
 
  16 -----------------------
 
  18 Works with wxPython 2.3.2 for Python 2.2.
 
  23 XRCed's idea is very straightforward: it is a visual tool for editing an XML
 
  24 file conforming to XRC format. Every operation performed in XRCed has direct
 
  25 correspondence to XML structure. So it is not really a usual point-and-click
 
  26 GUI builder, but don't let that scare you.
 
  28 To start xrced, change to the directory where you installed it and run
 
  31 On UNIX you can edit wrapper script "xrced.sh" to point to your installation
 
  34 To create an object, first you should select some object in the tree (or the
 
  35 root item if it's empty) then press the right mouse button and select an
 
  36 appropriate command. The pulldown menu is context-dependent on the selected
 
  39 XRCed tries to guess if new object should be added as a next sibling or a
 
  40 child of current object, depending on the possibility of the object to have
 
  41 child objects and expanded state (if tree item is collapsed, new object will
 
  42 be sibling). You can change this behavior to create siblings by pressing and
 
  43 holding the Shift and Control keys before clicking the mouse.
 
  45 Pressed Control key while pressing right button makes next item a sibling of
 
  46 selected item regardless of its expanded state.
 
  48 Pressed Shift key changes the place for inserting new child to be before
 
  49 selected child, not after as by default.
 
  51 Panel on the right contains object properties. Properties which are optional
 
  52 should be "checked" first. This panel can be made separate by unchecking
 
  53 "Embed Panel" in View menu.
 
  55 All properties can be edited as text, and some are supplied with special
 
  58 The names of the properties are exactly as in XRC file, and it's usually not
 
  59 hard to guess what they do. XML ID is the name of the window, and must be
 
  60 present for top-level windows (though this is not enforced by XRCed).
 
  62 To display the preview window double-click a top-level object (you should
 
  63 assign an XMLID to it first), press "Test" toolbar button or select command
 
  64 from View menu, or press F5. After that, if you select a child object, it
 
  65 becomes highlighted, and if you change it, preview is updated when you select
 
  66 another item or press Ctrl-R (refresh). To turn off automatic update, toggle
 
  67 "View->Auto-refresh" or toolbar auto-refresh button (to the right of the
 
  70 --------------------------------------------------------------------------------
 
  72 Copyright 2001 Roman Rolinsky <rolinsky@mema.ucl.ac.be>