Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sub/GgiMenu.dc2
Дата изменения: Thu Mar 14 05:19:24 2002
Дата индексирования: Fri Jan 16 18:17:14 2009
Кодировка:

Поисковые слова: р п р п р п р п р п р п c 1999 s4 linear
Function: GgiMenu

Purpose: Create a menu Ggi element

Category: USER-INTERFACE

File: ggi.src

Author: J.P. Terlouw

Use:
#include "ggi.h"
ident menu;
char *keyword, *message, **labels;

menu = GgiMenu(keyword, message, labels);

menu - 'handle' by which element can be referenced.
keyword - user input keyword.
message - help text which pops up when the pointer stays
in the input area for some time.
labels - a NULL-pointer terminated list of pointers to
the menu entry texts.

Description: GgiMenu creates a menu element.
When a menu entry is selected, the element writes an integer
index by calling wkey_c(). (The first element corresponds
with index zero.) This can be read by userint_c().

The default menu label is the supplied keyword without the
equals sign.

The following menu entry texts have a special meaning.
These 'entries' are normally counted, but they cannot
be selected.

_LINE separator line
_SPACE 5 pixels high blank separator
_text text separator ('text' is any text)

Related document: GgiMenuLabels.dc2

Updates: Jan 13, 1998: JPT, Document created.
Jul 2, 1998: JPT, Special entries implemented.