PuiCreatePrintBox(3X)

PuiCreatePrintBox - creates a PrintBox widget

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     PuiCreatePrintBox - creates a PrintBox widget

SYNOPSIS
     #include <Sgm/PrintBox.h>

     Widget PuiCreatePrintBox(Widget parent,
                              String name,
                              ArgList arglist,
                              Cardinal argcount);

DESCRIPTION
     PuiCreatePrintBox creates an unmanaged instance of the PrintBox widget. A
     PrintBox provides a graphical interface for submitting print jobs under
     the System V print spooling system.  Print jobs may be submitted as
     filenames, a file descriptor or as a pointer to a text buffer. The
     PrintBox includes the following items:

     - A print file entry text field (for file based jobs)
     - A scrolling list of available printers
     - Print option controls
     - Up to five action area push buttons

     By default three action area push buttons are managed and are labeled
     Print, Cancel and Help. The remaining two buttons are unmanaged. The
     PrintBox widget accepts one child as a work area. This area may be used
     for application specific printing related controls.

     parent         Specifies the ID of the parent widget.

     name           Specifies the instance name of the created widget.

     arglist        Specifies the widget resource argument list

     argcount       Specifies the number of attribute/value pairs in the
                    argument list (arglist)

     For a complete definition of the PrintBox and its associated resources,
     see PuiPrintBox(3X).

RETURN VALUE
     The widget ID of the newly instantiated PrintBox is returned.

NOTE
     The PrintBox widget created by PuiCreatePrintBox must be managed using
     XtManageChild or XtManageChildren to be visible.

SEE ALSO
     PuiPrintBox(3X), libprintui(3X)