REF XT_WIDGET                                       Adrian Howard Jun 91

       COPYRIGHT University of Sussex 1990. All Rights Reserved.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<                             >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<     WIDGET CREATION AND     >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<         MANAGEMENT          >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<                             >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

This REF file details the procedures that are suplied by the two library
packages LIB * XT_WIDGET  and  LIB * FAST_XT_WIDGET  which  provide  the
Pop-11 interface to the X Toolkit Intrinsics related to widget  creation
and management.

         CONTENTS - (Use <ENTER> g to access required sections)

  1   Introduction

  2   LIB XT_WIDGET

  3   LIB FAST_XT_WIDGET



---------------
1  Introduction
---------------

The  libraries  LIB * FAST_XT_WIDGET  and  LIB * XT_WIDGET  provide  the
Pop-11 interface to the X Toolkit Intrinsics related to widget  creation
and management.  The  library  allows  the  following  functions  to  be
performed from Pop-11:

   #  The creation and management of widgets and application shells
   #  Realising a widget instance
   #  The destruction of a widget instance
   #  The destruction of the widows associated with a widget
   #  The mapping and unmapping of widgets

The  exact  structure  of  arguments  and  results  for  the   following
procedures is as discussed in REF * XTOOLKIT.

For full details, see Chapter 2 of:

               X Toolkit Intrinsics - C Language Interface
                             X Window System
                         X Version 11, Release 4

        Copyright (C)  1985,  1986,  1987,  1988,  Massachusetts
        Institute of Technology,  Cambridge, Massachusetts,  and
        Digital Equipment Corporation, Maynard, Massachusetts.




----------------
2  LIB XT_WIDGET
----------------

XtCreateWidget(name, widgetclass, widget, arglist,           [procedure]
               cardinal) -> widget
XtVaCreateWidget(name_string, widgetclass, widget,           [procedure]
                 argvarargs) -> widget
        Create a widget instance (varargs and non-varargs versions).


XtAppCreateShell(name_string, class_string, widgetclass,     [procedure]
                 displayptr, arglist, cardinal) -> widget
XtVaAppCreateShell(name_string, class_string, widgetclass,   [procedure]
                   displayptr, argvarargs) -> widget
        Create an application  shell instance  (varargs and  non-varargs
        versions).


XtRealizeWidget(widget)                                      [procedure]
        Realize a widget instance.


XtUnrealizeWidget(widget)                                    [procedure]
        Destroy the windows associated with a widget and its children.


XtDestroyWidget(widget)                                      [procedure]
        Destroy a widget instance.


XtCreateManagedWidget(name, widgetclass, parent_widget,      [procedure]
                      arglist, cardinal) -> widget
XtVaCreateManagedWidget(name, widgetclass, parent_widget,    [procedure]
                        argvarargs) -> widget
        Create and  manage  a  child  widget  (varargs  and  non-varargs
        versions).


XtMapWidget(widget)                                          [procedure]
        Explicitly map a widget.


XtUnmapWidget(widget)                                        [procedure]
        Explicitly unmap a widget.




---------------------
3  LIB FAST_XT_WIDGET
---------------------

fast_XtCreateWidget(name, widgetclass, widget, arglist,      [procedure]
               cardinal) -> widget
fast_XtVaCreateWidget(name_string, widgetclass, widget,      [procedure]
                 argvarargs) -> widget
fast_XtAppCreateShell(name_string, class_string,             [procedure]
             widgetclass, isplayptr, arglist, cardinal) -> widget
fast_XtVaAppCreateShell(name_string, class_string,           [procedure]
                   widgetclass,
                   displayptr, argvarargs) -> widget
fast_XtRealizeWidget(widget)                                 [procedure]
fast_XtUnrealizeWidget(widget)                               [procedure]
fast_XtDestroyWidget(widget)                                 [procedure]
fast_XtCreateManagedWidget(name, widgetclass, parent_widget, [procedure]
                      arglist, cardinal) -> widget
fast_XtVaCreateManagedWidget(name, widgetclass,              [procedure]
                       parent_widget, argvarargs) -> widget
fast_XtMapWidget(widget)                                     [procedure]
fast_XtUnmapWidget(widget)                                   [procedure]
        As for the procedures in LIB * XT_WIDGET, but without checks for
        valid arguments. These procedures should  only be used in  fully
        debugged programs. See  REF * XTOOLKIT for full  details of  the
        Poplog X  naming  conventions  for  non-checking  and  checking
        procedures.


--- C.x/x/pop/ref/xt_widget
--- Copyright University of Sussex 1990. All rights reserved.
