Recent Changes - Search:

Mod /


(:toc:) (:toc:)

GUILD - the GUI Layout Designer


Guild is a GUI designer, or layout editor for .gui files. Although Gui files can easily be hand edited, Guild provides a convenient way to learn which attributes are available for which tags. Guild custom tree editor uses introspection to display which attributes are available for a tag.

Here is a screenshot of Guild in action:

Starting Guild

Guild can be started using:

  wize / Gui/Guild ?file.gui?

When started with no file, it prompts for the name of a file. If no file is selected, it asks to insert the application template.

A running application can be modified using <Control-Alt-Shift-2> and selecting Open in Gui Builder from the menu. There you can examine or edit the Gui, save changes, etc.

Using Guild

Elements can then be inserted by clicking the button icons on the left hand side. This will insert a tag element at the current level, or as a child if Child is enabled. Also, some elements have dialogs.

There is a right-click menu for moving tags around, allowing entire tag trees to be Cut and Pasted.

On the right, attributes can be selected and added with 'Add and then edited. Similarly they be selected and removed with Delete.

Styles and Scripts

There is currently no style or script editing dialogs. Instead you just click on Value and an editor pops up.

A better way is to just use your normal editor on the .tcl file and then add to the bottom:

  Tk::gui::create { include myfile.gui }

For styles it is best to execute or run the program and use <Control-Alt-Shift-2> to test out configuration options before adding to rules.

No Style

Applications can be run with style disabled via the Guild menu File/Run-NoStyle.


Applications can be saved as XML via the Guild menu File/Save-As-XML.

Edit - History - Print - Recent Changes - Search
Page last modified on November 26, 2010, at 08:07 AM