These are the sample programs for the xmub library.
They are built together with the distribution.

Note that both test programs require the correct resource files and
the correct xresource.map file. To run the clients, cd to the clients
directory and type

  doDemo

This command will run both clients after eachother.



Sample program: txj_demo

This program displays a number of text fields.
When the button "Change colors" is pressed, the default palette
change dialog is displayed. The dialog displays the names of the 
available palettes. When a palette is selected, the application
automatically changes colors to those of the selected palette.
When OK is pressed, the palette selection is made permanent,
when Cancel is pressed, the application reverts to the palette
that was in use when the dialog was popped up.


Sample program: new_demo

This program displays a scrolled text field with a command widget in
the lower part of the window. You can enter the name of a palette in
the command widget, and if the palette is valid, the application will 
change colors to that palette. The name of the palette will also 
be displayed in the text field. If the entered text is not a valid
palette name, nothing happens.

VMS
---

How to build and run the demos is explained in the main README file.
