# The Xlt Widget Set

The Xlt widget set is a group of larger and smaller utility widgets, mostly authored by Rick Scott.

These are the widgets currently available :

- XltBubbleButton - XmPushButton sub-class with tool-tips, bubble-help, annoying clutter on the screen, or what ever it's called these days.
- XltAnimatedButton - XltBubbleButton sub-class for displaying a sequence of Pixmaps, or XmStrings, as an animation.
- XltEntrySB - A combination of an XmScale and XmTextField for numeric entry.
- XltFilePicker - A combination XmLabel, XmTextField, and XltBubbleButton that pops up an XmFileSelectionDialog and displays the selection.
- XltHost - an object sub-class that opens a TCP/IP stream and returns thedata from the stream with callbacks.
- XltNumEntry - An XmLabel, XmTextField and a couple of XmArrowButtons for numeric data entry. This has a built in calculator, so you can enter "4 * sin(PI)" as "4 * sin(PI)" instead of ".2192". It's pretty cool, if I do say so myself.
- Strokes - The next thing in UI design, available here first! Beats "themes" hands down, this is actually usefull!
- XltDisplayFallbackResources - A function to print the compiled in FallBack resources to stderr in a resource file format.
- XltDisplayOptions - A function to print the command line options to stderr.
- XltHostTranscript - A function to create a dialog that displays all incoming data on a Host stream in an XmScrolledText widget.
- XltRedirectStdErr - A function that captures stderr and displays it in a dialog.
- XltSetClientIcon - A function to set the ApplicationShell iconPixmap and iconMask with the xpm data.
- Sound - Easily add actions and resources to play sound files.
- XltTooBarAddItem - A function that makes it easy to add XltBubbleButtons that display xpm icons to an XmRowColumn, for use as a tool bar.
- XltWorking - Pops up a dialog that displays the percentage of a task complete without having to convert the task to a WorkProc, and without having to worry about un-managing the dialog before it is actually mapped.
- XltYesNo - An "in-line" dialog for simple questions.
- The XltAppShell widget is a drop-in replacement for Xt's applicationShell which makes supporting private colormaps and non-default visual a no-brainer.
- The SciPlot Widget (by Rob McMullen) is a widget capable of plotting cartesian or polar graphs, including logarithmic axes in cartesian plots. Professional quality 2D graphs for free !
- The ListTree widget (also by Rob) is a small list widget capable of displaying lists of text strings (with an optional pixmap) in a heirarchal directory list sort of format.
- The FontChooser widget (by Danny) allows a user to select a font based on its XLFD name.
- The XltSelectionBox is just like the XmSelectionBox except that the list scrolls to the closest match in the list as text is typed in the TextField

The Xlt widget set is part of the LessTif distributions, but installing it is optional.

Xlt widgets are not an implementation of some OSF/Motif® API.

As such, their use in your applications is at your discretion (and totally free as in free speech and free beer), but beware that your application will only port to an environment with a commercial Motif implementation if you also provide the Xlt library.

Send any questions or comments to the mailing list.