Previous Next Up Title Contents Index Top Library

24
PHIGS Input Manager
Motif (PIMM)

GPHIGS_GUI PHIGS Input Manager Motif (PIMM) replaces the standard GPHIGS PHIGS Input Manager (PIM). All the PIM functions are not yet available on PIMM. The PIMM inputs are performed with the GPHIGS_GUI widgets.

Choice is then displayed in the following format :

Figure 24a

echo -1or alternatively

Figure 24b

echo -3

For the valuators :

Figure 24c

For the string :

Figure 24d

The inputs managed by the PIM are :

- Choice

- String

- Locator

- Pick

- Stroke

- Valuator

Their function modes may be :

- Request ( defaut)

- Sample

- Event

Their appearance and position in relation to the graphic window are managed by echo :

- Positive echo ( + ) : input inside the graphic window

- Negative echo ( - ) : input outside the graphic window

For more details on PIM inputs, refer to GPHIGS documentation (user guide)

The following table lists the inputs available with the PIMM.

DEVICE Name REQUEST SAMPLE EVENT
ECHO + - + - + -
CHOICE 1 Function Key (*) X (*) X (*) X
2 Mouse button (*) X (*) X (*) X
40-49 Button box X X X X
STRING 1-20 Character string X X X X
LOCATOR 1 2D X X X
PICK 1 2D X X X
STROKE 1
VALUATOR 21-30 ScrollBar X X X X

(*) not applicable
X input possible with Phigs Input Manager Motif (PIMM)
not possible with Phigs Input Manager Motif (PIMM)

For Locator and Pick inputs the soft echos (tracking cross, elastic rectangle,...) are not available in version 1.0 unless workstation widget is used with the PIM.

* For choice input some more prompt and echo type are avalaible with PIM Motif. See demonstration programm tstChoiceP.c and tstChoiceW.c

- 6 : Toggle button with scrolled window without radio box

- 7 : Popup menu in workstation(bouton 3)

- 8 : Buton with scrolled window without radio box

- 9 : -8 with radio box

- 10 : -6 with radio box

If a pet -6 .. -10 is used with PIM X-window, this is th ebutton box which is displayed.

echo -2

Echo -6 et -10 :

echo -8 et -9

Hard valuators :

As PIM X-Window it is possible to acces to Hard Valuator on SUN, HP, Silicon computer. Some object files are avalaible in OPGS / obj / Motif directory. Those files must be added for linking. See 2.7 GPHIGS User Guide and demonstration programm in Dials directory.


Previous Next Up Title Contents Index Top Library