FDESIGN(1L)
π FDESIGN(1L) β the Forms Library UI Designer, but make it bestie-coded π
okay so real talk, this is fdesign from the Forms Library man pages (section 1L, iykyk), and it's genuinely one of those tools that ate. let me put you on. π«Ά
β¨ NAME β¨
fdesign β the Forms Library User Interface Designer. that's it, that's the name, she's iconic π
π¦ SYNOPSIS π¦
fdesign [-xformoptions] [-options] [files]
πΈ DESCRIPTION πΈ
bestie. fdesign is a GUI builder. it helps you construct graphical user interfaces in a full WYSIWYG ("what you see is what you get") way β like, you literally just reach in and directly manipulate all the little objects yourself. buttons? sliders? menus? all of it, etc. you grab them, you move them, they do what you want. main character energy fr. π
and once you've built a UI you're actually happy with, you can save that whole composed interface out into a set of external files. here's the breakdown:
- files with the extension
.fdhold all the information about the objects, andfdesigncan read them right back in again. it's giving save file, it's giving persistence. β¨ - the files with C code and header files? when you compile and link those against the Forms Library, they generate code that at run-time constructs the exact same interface as the one you were just staring at inside
fdesign. no cap, exact same.
a whole variety of output languages is possible too, via external filters. as of this writing, the output filters known to exist are: C, perl, ada95, Fortran, pascal, and PostScript. so many options, we love a multilingual queen. π
π OPTIONS π
fdesign accepts all standard Forms Library command line options as well as the following:
-helpβ prints a brief summary of all the command line options. and the slayest part? this option does not require a connection to the X server. so you can ask for help even when your display is being dramatic. π-versionβ prints the current version offdesignand then exits. short, sweet, gone. π¨-geometry geomβ specifies the prefered size and location of the main working area, aka the space where your UI is gonna get constructed. (yes, "prefered" β that's the original spelling, i don't make the rules, i just report them π)-convert fdfile-listβ this one preventsfdesignfrom attempting to make a connection to the X server. the file list that follows this flag gets converted to C code directly. headless mode, we stan. β¨-dir destdirβ output any converted files indestdir.-unit pixel|point|mm|cp|cmmβ selects the unit of measure for object geometries. for non-pixel units, the interface you create is screen resolution independent, which may be desirable for many applications. β οΈ but heads up: for typical screens,point(about 1/72 inch) andmmmay be too coarse and subject to round-off errors. usecp(centi-point, 100th of a point) andcmm(centi-mm) instead. trust, the fine-grained ones are the move. π-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.-compensateβ requests the emission of font/server resolution variation compensation code.-I headerfileβ uses an alternative header file instead of the defaultforms.hin the output C code.-laxβ requests relaxed C syntax checking. chill mode for the parser. π-psβ this option specifies that instead of emitting the c code for the user interface, PostScript code should be emitted.-adaβ this option requests ada95 code output.-perlβ this option requests perl code output.-fortranβ this option requests Fortran code output.-pascalβ this option requests pascal code output.-nocodeβ suppresses the output of UI code. only the.fdfile is written. minimal queen behavior. π
π the most useful Forms Library command line options π
like i said, there are more, but these ones are the ones you'll actually reach for:
-display host:dpyβ this option specifies the X server to connect.-flversionβ this option prints the version string of the Forms Library, with whichfdesignwas build. (again β "build", not "built". original text, bestie, i'm just the messenger π)-name appnameβ this option specifies the application name under which resources are to be obtained, instead of the executable name. β οΈ important:appnameshould not contain.or*. and then the original just saysfdesign.at the end there, which β yeah. that's what it says. i'm not touching it. π
π RESOURCES π
the program understands all of the Forms Library's resource names and classes, plus these cuties:
control.geometry(classControl.Geometry) β specifies the geometry of the control panel. currently the size is ignored. πunit(Unit) β specifies the default unit of measure. default ispixel.attributes.geometry(classAttributes.Geometry) β specifies the geometry of the object attributes panel. currently the size is ignored.align.geometry(classAlign.Geometry) β specifies the geometry of the object align panel. currently the size is ignored.xformsHeader(classXFormsHeader) β specifies the header filename generated in the output C code. default isforms.h.filter(classFilter) β specifies post-processing filter (an external executable name).language(classLanguage) β specifies target language name.
β¨ among the standard Forms Library resources, these are the most useful β¨
xform.fontsize(classXFORM.FontSize) β specifies the font size used for most object labels.xform.pupfontsize(classXFORM.PupFontSize) β specifies the font size used in pop-up menus.xform.browserFontSize(classXFORM.BrowserFontSize) β specifies the font size used for the text inside a browser.
π₯ SEE ALSO π₯
xforms(5), fd2ps(1L)
like. go read those too. do it for me. π«Ά
π AUTHOR π
Copyright (c) 1996-2002 T.C. Zhao <tc_zhao@yahoo.com> and Mark Overmars <markov@cs.ruu.nl>
Since 2002: GNU Lesser General Public License
Maintainers: Jean-Marc Lasgouttes, Angus Leeming and Jens Thoms Toerring <jt@toerring.de>
legends, all of them. absolute icons. π
π HOME PAGE π
and that's the whole page bestie!! this one's Version 1.2.0, dated November 2013, and it's the FDESIGN(1L) of the Forms Library. go build something gorgeous with it. mwah. π
β¨π¦ππ
π¦ where this page comes from
- epel 9: xforms-devel 1.2.4-20.el9 Β· LGPLv2+
- fedora 43: xforms-devel 1.2.4-28.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: xforms-devel 1.2.4-28.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: xforms-devel 1.2.4-29.fc44 Β· LGPL-2.1-or-later
- fedora 44: xforms-devel 1.2.4-29.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms