Automatically created User Interfaces


The intention of the "simple" example is to show how easily reasonably large user interfaces can be created. Type:
     # cd /xw/applications/simple
     # xbw simple.c
     
and after a second you might wonder about the whole lot of files that XbW has created.

You can get rid of these files with

      # make clean
      

The XbW screen for this example will look a lot like this:

A photo of the example...

The source code for this example is in simplemfx.h and looks like this:

      #define ProgramName simple
 
      typedef struct {
        int    itest [111];
        int    ittest [13][4];
        char   stest  [20][40];
        char   sttest [20][ 4][ 6];
        double dtest  [20];
        double dttest [ 4][ 6];
        short  shtest [20];
        short  shttest[4][ 6];
        } MFI;
 
      extern MFI mfi;
 
      #ifdef MFI_INIT
      MFI mfi = {
        };
      #endif
      

XbW: "X without Bells and Whistles" created by:
Hendrik Maroske, Höhenweg 32, 78315 Radolfzell Germany, Tel.0049-7732-12783