ximage_example

[ XITE Reference Manual | XITE home ]

Contents


Name

ximage_example - example application for the XITE ximage toolkit

Syntax

 ximage_example <filename>

Description

Sample program for the XITE ximage toolkit.

For this program to operate properly, X11 resources must also be set. They can be found in the file

 $XITE_HOME/etc/app-defaults/XImageExample

ximage_example will find its resource file automatically if XITE is setup correctly at your site.

Options

ximage_example supports all standard X Toolkit command line arguments (see X(1)) as well as the XITE ximage(3) toolkit command line options.

Resources

In order to specify resources, it is useful to know the hierarchy of the widgets which compose ximage_example. In the notation below, indentation indicates hierarchical structure.

The widgets of class XfwfButton can be replaced by class Command (from the Athena widget set) by using the ximage(3) option -widgetset or corresponding application resource.

ximage_example (class XImageExample)

 popup              (class TransientShell)
   dialog           (class Dialog)
     label          (class Label)
     command        (class Command)
 colorsmenu         (class SimpleMenu)
   menuLabel        (class SmeBSB)
   backgroundcol    (class SmeBSB)
   Work-map         (class SmeBSB)
   colorsep         (class SmeLine)
   White - 256      (class SmeBSB)
   Black - 256      (class SmeBSB)
   Red - 256        (class SmeBSB)
   Green - 256      (class SmeBSB)
   Blue - 256       (class SmeBSB)
   Spectrum - 256   (class SmeBSB)
   Hue - 256        (class SmeBSB)
   Rainbow - 256    (class SmeBSB)
 overlaysmenu       (class SimpleMenu)
   menuLabel        (class SmeBSB)
   backgroundovl    (class SmeBSB)
   Std-overlay      (class SmeBSB)
   colorsep         (class SmeLine)
   White - mono     (class SmeBSB)
   Black - mono     (class SmeBSB)
 optionsmenu        (class SimpleMenu)
   menuLabel        (class SmeBSB)
   optionsmenusep   (class SmeLine)
   optionsmenuentry (class SmeBSB)
   optionsmenuentry (class SmeBSB)
   optionsmenuentry (class SmeBSB)
   optionsmenusep   (class SmeLine)
   optionsmenuentry (class SmeBSB)
   optionsmenuentry (class SmeBSB)
   optionsmenuentry (class SmeBSB)
 toolsmenu          (class SimpleMenu)
   menuLabel        (class SmeBSB)
   imageinfo        (class SmeBSB)
   histogram        (class SmeBSB)
   slice            (class SmeBSB)
 imageShell         (class TopLevelShell)
   imageForm        (class ImageForm)
     menubar        (class XfwfMenuBar)
       colors       (class XfwfPullDown)
       tools        (class XfwfPullDown)
       options      (class XfwfPullDown)
     image          (class Image)
 Control panel      (class TopLevelShell)
   topContainer     (class Form)
     Image Example  (class Label)
     menu           (class MenuButton)
       menu         (class SimpleMenu)
         men1       (class SmeBSB)
         men2       (class SmeBSB)
     list           (class List)
     Quit           (class XfwfButton)
     Read file      (class XfwfButton)
     Negate         (class XfwfButton)

See also

ximage(3), xadd(1), xfft(1), xfilter(1), xhistogram(1), xmovie(1), xregion(1), xpyramid(1), xshow(1), Image(3), ImageOverlay(3)

Files

$XITE_HOME/etc/app-defaults/XImageExample

Author

Otto Milvang and Svein Bøe

Example

ximage_example mona.img

Id

$Id: ximage_example.c,v 1.29 1997/07/29 09:02:53 svein Exp $