*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> Shell (3X)              
Title
Content
Arch
Section
 

Shell(3X)

Contents


NAME    [Toc]    [Back]

       Shell - The Shell widget class

SYNOPSIS    [Toc]    [Back]

       #include <Xm/Xm.h> #include <X11/Shell.h>


DESCRIPTION    [Toc]    [Back]

       Shell  is a top-level widget (with only one managed child)
       that encapsulates the interaction with the window manager.

       At  the  time  the  shell's  child is managed, the child's
       width is used for both widgets if the shell is  unrealized
       and no width has been specified for the shell.  Otherwise,
       the shell's width is used  for  both  widgets.   The  same
       relations  hold for the height of the shell and its child.

   Classes    [Toc]    [Back]
       Shell inherits behavior and resources from  Composite  and
       Core.

       The class pointer is shellWidgetClass.

       The class name is Shell.

   New Resources    [Toc]    [Back]
       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 XmN
       or XmC prefix and use the remaining letters.   To  specify
       one  of  the defined values for a resource in a .Xdefaults
       file, remove the Xm 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).

       Shell Resource Set    [Toc]    [Back]

       Class: XmCAllowShellResize
       Default: False
       Type:  Boolean
       Access: CG
       Class: XmCCreatePopupChildProc
       Default: NULL
       Type:  XtCreatePopupChildProc
       Access: CSG
       Class: XmCGeometry
       Default: NULL
       Type:  String
       Access: CSG
       Class: XmCOverrideRedirect
       Default: False
       Type:  Boolean
       Access: CSG
       Class: XmCCallback
       Default: NULL
       Type:  XtCallbackList
       Access: C
       Class: XmCCallback
       Default: NULL
       Type:  XtCallbackList
       Access: C
       Class: XmCSaveUnder
       Default: False
       Type:  Boolean
       Access: CSG
       Class: XmCVisual
       Default: CopyFromParent
       Type:  Visual *
       Access: CSG

              Specifies that if this resource is False, the Shell
              widget instance returns XtGeometryNo to all  geometry
  requests  from  its  children.   Specifies the
              pointer to a function that is called when the Shell
              widget  instance is popped up by XtPopup. The function
 creates the child widget  when  the  shell  is
              popped  up  instead  of when the application starts
              up. This can be used  if  the  child  needs  to  be
              reconfigured  each time the shell is popped up. The
              function takes one argument, the popup  shell,  and
              returns  no  result.  It  is called after the popup
              callbacks specified by XmNpopupCallback.  Specifies
              the desired geometry for the widget instance.  This
              resource is examined only when the widget  instance
              is  unrealized  and the number of its managed children
 is changed.  It is to change the values of the
              XmNx,  XmNy,  XmNwidth,  and  XmNheight  resources.
              Specifies this is True if the widget instance is  a
              temporary  window  which  should  be ignored by the
              window manager.  Applications and users should  not
              normally  alter this resource.  Specifies a list of
              callbacks that is called when the  widget  instance
              is  popped  down by XtPopdown.  Specifies a list of
              callbacks that is called when the  widget  instance
              is popped up by XtPopup.  Specifies a True value if
              it is desirable to save the contents of the  screen
              beneath   this  widget  instance,  avoiding  expose
              events when the instance is unmapped.   This  is  a
              hint, and an implementation may save contents whenever
 it desires, including always or never.  Specifies
 the visual used in creating the widget.

   Inherited Resources    [Toc]    [Back]
       Shell  inherits  behavior and resources from the following
       superclass.  For a complete description of each  resource,
       refer to the man page for that superclass.

       Composite Resource Set    [Toc]    [Back]

       Class: XmCReadOnly
       Default: NULL
       Type:  WidgetList
       Access: G
       Class: XmCInsertPosition
       Default: NULL
       Type:  XtOrderProc
       Access: CSG
       Class: XmCReadOnly
       Default: 0
       Type:  Cardinal
       Access: G


       Core Resource Set    [Toc]    [Back]

       Class: XmCAccelerators
       Default: dynamic
       Type:  XtAccelerators
       Access: CSG
       Class: XmCSensitive
       Default: dynamic
       Type:  Boolean
       Access: G
       Class: XmCBackground
       Default: dynamic
       Type:  Pixel
       Access: CSG
       Class: XmCPixmap
       Default: XmUNSPECIFIED_PIXMAP
       Type:  Pixmap
       Access: CSG
       Class: XmCBorderColor
       Default: XtDefaultForeground
       Type:  Pixel
       Access: CSG
       Class: XmCPixmap
       Default: XmUNSPECIFIED_PIXMAP
       Type:  Pixmap
       Access: CSG
       Class: XmCBorderWidth
       Default: 1
       Type:  Dimension
       Access: CSG
       Class: XmCColormap
       Default: dynamic
       Type:  Colormap
       Access: CG
       Class: XmCDepth
       Default: dynamic
       Type:  int
       Access: CG
       Class: XmCCallback
       Default: NULL
       Type:  XtCallbackList
       Access: C
       Class: XmCHeight
       Default: dynamic
       Type:  Dimension
       Access: CSG
       Class: XmCInitialResourcesPersistent
       Default: True
       Type:  Boolean
       Access: C
       Class: XmCMappedWhenManaged
       Default: True
       Type:  Boolean
       Access: CSG
       Class: XmCScreen
       Default: dynamic
       Type:  Screen *
       Access: CG
       Class: XmCSensitive
       Default: True
       Type:  Boolean
       Access: CSG
       Class: XmCTranslations
       Default: dynamic
       Type:  XtTranslations
       Access: CSG
       Class: XmCWidth
       Default: dynamic
       Type:  Dimension
       Access: CSG
       Class: XmCPosition
       Default: 0
       Type:  Position
       Access: CSG
       Class: XmCPosition
       Default: 0
       Type:  Position
       Access: CSG


   Translations    [Toc]    [Back]
       There are no translations for Shell.

SEE ALSO    [Toc]    [Back]

      
      
       Composite(3X), Core(3X)



                                                        Shell(3X)
[ Back ]
 Similar pages
Name OS Title
XmPrintShell HP-UX a shell widget class used for printing in Motif
dmPMGetAppShell IRIX retrieves the app shell widget used by the pluginmanager
XmPrintSetup HP-UX setup and create a Print Shell widget
XmMessageBox HP-UX The MessageBox widget class
XmMenuShell HP-UX The MenuShell widget class
XmMainWindow HP-UX The MainWindow widget class
XmManager HP-UX The Manager widget class
XmList HP-UX The List widget class
XmLabelGadget HP-UX The LabelGadget widget class
XmLabel HP-UX The Label widget class
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service