Table of Contentsfdesign - Forms Library User Interface Designerfdesign [-xformoptions] [-options] [files] fdesign is a GUI builder that helps the construction of graphical user interface in a WYSIWYG (what you see is what you get) way by allowing the user to directly manipulate various objects, such as buttons, sliders and menus etc. Once a satisfactory UI is constructed, the user can save the composed interface into an external file containing some C code. When compiled, linked with the Forms Library , and executed, the generated code would construct the exact same interfaces as those seen within fdesign.
fdesign accepts all standard Forms Library command line options as well as the following: - -help
- Prints a brief summary of all command line options. This option does not require a connection to the X server.
- -version
- Prints the current version of fdesign and exits.
- -geometry geom
- Specifies the prefered size and location of main working area in which the UI is to be constructed.
- -convert fdfile-list
- This option prevents fdesign from attempting to make a connection to the X server. The file list following this flag is converted to C code directly.
- -unit pixel|point|mm
- selects the unit of measure of object geometries in the C code output. If unit other than the default is selected, the interface so created is screen resolution independent.
- -altformat
- selects an alternative format for the generated C code where global variables are used for the UI components.
- -main
- requests the output of main program template.
- -callback
- requests the output of callback function template.
- -I headerfile
- uses an alternative header file instead of the default forms.h in the output C code.
- -lax
- requests relaxed C syntax checking.
- -nocode
- suppresses the output of UI code. Only the .fd file is written.
The most useful Forms Library command line options are
- -display host:dpy
- This option specifies the X server to connect.
- -name appname
- This option specifies the application name under which resources are to be obtained, instead of the executable name fdesign. appname should not contain . or *.
The program understands all of the Forms Library's resource names and classes as well as the following - control.geometry (class Control.Geometry)
- specifies the geometry of the control panel. Currently the size is ignored.
- control.border (class Control.Border)
- adds a full border to the control panel if true.
- unit (Unit)
- specifies the default unit of measure. Default is pixel.
- attributes.geometry (class Attributes.Geometry)
- specifies the geometry of the object attributes panel. Currently the size is ignored.
- align.geometry (class Align.Geometry)
- specifies the geometry of the object align panel. Currently the size is ignored.
- xformsHeader (class XFormsHeader)
- specifies the header filename generated in the output C code. Default is forms.h
Among the standard Forms Library resources, the following are most useful
- xform.fontsize (class XFORM.FontSize)
- specifies the font size used for most object labels.
- xform.pupfontsize (class XFORM.PupFontSize)
- specifies the font size used in pop-up menus.
- xform.browserFontSize (class XFORM.BrowserFontSize)
- specifies the font size used for the text inside a browser.
xforms(5) Copyright (c) 1996 by T.C. Zhao (zhao@bloch.phys.uwm.edu) and Mark Overmars (markov@cs.ruu.nl) http://bragg.phys.uwm.edu/xforms
Table of Contents
www.fiveanddime.net