OlWidgetSearchTextDB(3W) UNIX System V OlWidgetSearchTextDB(3W)
Database Utilities
NAME
OlWidgetSearchTextDB - register the OPEN LOOK TEXT database on a specific
widget instance
SYNOPSIS
#include <Xol/OpenLook.h>
...
void
OlWidgetSearchTextDB(w)
Widget w;
DESCRIPTION
The OlWidgetSearchTextDB procedure is used to register the OPEN LOOK TEXT
database on a specific widget instance.
Once the OPEN LOOK TEXT database is registered with a given widget
instance, the OlLookupInputEvent(3W) procedure (if db_flag is
OL_DEFAULT_IE or OL_TEXT_IE) will include this database in the search
stack if the given widget id is this widget instance.
CAVEAT
The registering order determines the searching order when doing a lookup.
SEE ALSO
OlClassSearchIEDB(3W)
OlClassSearchTextDB(3W)
OlCreateInputEventDB(3W)
OlLookupInputEvent(3W)
OlWidgetSearchIEDB(3W)
EXAMPLE
...
#include <Xol/OpenLook.h>
...
/* assume: "w" is a stub widget that is interested in */
/* the OPEN LOOK TEXT database */
OlWidgetSearchTextDB(w);
/* once this step is done, this widget instance will */
/* receive OPEN LOOK TEXT commands after a call */
/* to OlLookupInputEvent(), or in the XtNconsumeEvent */
/* callback's OlVirtualEvent structure supplied with */
/* the calldata field. */
...
10/89 Page 1