Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SgTextField() — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmTextField(SGI-ResourceUNIX System V (XmTextField(SGI-Resources)



     NAME
          XmTextField SGI-Resources - XmText SGI Resources

     SYNOPSIS
          #include <TextF.h>


     VERSION
          This page documents the version of Sgm that accompanies
          Motif 1.2.

     DESCRIPTION
          This man pages describes new resources added to the Motif
          Text widget by SGI. To get these resources you need to
          #define __sgi in your application.

          For a description of the XmTextField widget non-SGI
          resources see the XmTextField man page.

        New Resources
          The following table defines a set of widget resources used
          by the programmer to specify data.  The programmer can also
          set the resource values for the inherited classes to set
          attributes for this widget.  To reference a resource by name
          or by class in a .Xdefaults file, remove the SgN or SgC
          prefix and use the remaining letters.  To specify one of the
          defined values for a resource in a .Xdefaults file, remove
          the Sg prefix and use the remaining letters (in either
          lowercase or uppercase, but include any underscores between
          words).  The codes in the access column indicate if the
          given resource can be set at creation time (C), set by using
          XtSetValues (S), retrieved by using XtGetValues (G), or is
          not applicable (N/A).

                              SXmTextField SGI Resource Set
     Name                      Class                     Type        Default   Access
     ________________________________________________________________________________
     SgNselectionBackground    SgCSelectionBackground    XtString    white     CSG
     SgNselectionForeground    SgCSelectionForeground    XtString    black     CSG
     SgNerrorBackground        SgCErrorBackground        XtString    yellow    CSG
     SgNcursorVisibleOnFocus   SgCCursorVisibleOnFocus   XtBoolean   True      CSG



          SgNselectionBackground
                    Specifies the text selection backgroung color.  In
                    non-SGI text widget the widget's foreground color
                    is used for the text selection background.

          SgNselectionForeground
                    Specifies the text selection foregroung color.  In
                    non-SGI text widget the widget's background color



     Page 1                                          (printed 4/30/98)





     XmTextField(SGI-ResourceUNIX System V (XmTextField(SGI-Resources)



                    is used for the text selection foreground.

          SgNerrorBackground
                    Specifies the text backgroung color for text
                    selected with the SgTextFieldSetErrorSelection
                    function. This marks the text as selected with an
                    error status that is indicated by the background
                    color, specified by the SgNerrorBackground
                    resource.

          SgNcursorVisibleOnFocus
                    Specifies whethere to show the text widget cursor
                    only when the widget has focus. If
                    cursorVisibleOnFocus is True then the cursor is
                    not visible if the widget has no keyboard focus;
                    if cursorVisibleOnFocus is False then the cursor
                    is always visible even when the widget has no
                    keyboard focus.



     RELATED INFORMATION
          XmTextField SGI-Resources(3X),
          SgTextFieldSetErrorSelection(3X), XmText(3X),
          XmTextField(3X), Core(3X),






























     Page 2                                          (printed 4/30/98)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026