Blame doc/man/man3/Shell.3

Packit b099d7
'\" t
Packit b099d7
...\" Shell.sgm /main/10 1996/09/08 21:42:25 rws $
Packit b099d7
.de P!
Packit b099d7
.fl
Packit b099d7
\!!1 setgray
Packit b099d7
.fl
Packit b099d7
\\&.\"
Packit b099d7
.fl
Packit b099d7
\!!0 setgray
Packit b099d7
.fl			\" force out current output buffer
Packit b099d7
\!!save /psv exch def currentpoint translate 0 0 moveto
Packit b099d7
\!!/showpage{}def
Packit b099d7
.fl			\" prolog
Packit b099d7
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
Packit b099d7
\!!psv restore
Packit b099d7
.
Packit b099d7
.de pF
Packit b099d7
.ie     ?\\*(f1?? .ds f1 \\n(.f
Packit b099d7
.el .ie ?\\*(f2?? .ds f2 \\n(.f
Packit b099d7
.el .ie ?\\*(f3?? .ds f3 \\n(.f
Packit b099d7
.el .ie ?\\*(f4?? .ds f4 \\n(.f
Packit b099d7
.el .tm ? font overflow
Packit b099d7
.ft \\$1
Packit b099d7
..
Packit b099d7
.de fP
Packit b099d7
.ie     !?\\*(f4?? \{\
Packit b099d7
.	ft \\*(f4
Packit b099d7
.	ds f4\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f3?? \{\
Packit b099d7
.	ft \\*(f3
Packit b099d7
.	ds f3\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f2?? \{\
Packit b099d7
.	ft \\*(f2
Packit b099d7
.	ds f2\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f1?? \{\
Packit b099d7
.	ft \\*(f1
Packit b099d7
.	ds f1\"
Packit b099d7
'	br \}
Packit b099d7
.el .tm ? font underflow
Packit b099d7
..
Packit b099d7
.ds f1\"
Packit b099d7
.ds f2\"
Packit b099d7
.ds f3\"
Packit b099d7
.ds f4\"
Packit b099d7
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
Packit b099d7
.TH "Shell" "library call"
Packit b099d7
.SH "NAME"
Packit b099d7
\fBShell\fP \(em The Shell widget class
Packit b099d7
.iX "Shell"
Packit b099d7
.iX "widget class" "Shell"
Packit b099d7
.SH "SYNOPSIS"
Packit b099d7
.PP
Packit b099d7
.nf
Packit b099d7
#include <Xm/Xm\&.h>
Packit b099d7
#include <X11/Shell\&.h>
Packit b099d7
.fi
Packit b099d7
.SH "DESCRIPTION"
Packit b099d7
.PP
Packit b099d7
Shell is a top-level widget (with only one managed child) that encapsulates
Packit b099d7
the interaction with the window manager\&.
Packit b099d7
.PP
Packit b099d7
At the time the shell\&'s child is managed, the child\&'s width is used
Packit b099d7
for both widgets if the shell is unrealized and no width has been
Packit b099d7
specified for the shell\&. Otherwise, the shell\&'s width is used for
Packit b099d7
both widgets\&. The same relations hold for the height of the shell and
Packit b099d7
its child\&.
Packit b099d7
.SS "Classes"
Packit b099d7
.PP
Packit b099d7
Shell inherits behavior and resources from \fBComposite\fP and \fBCore\fP\&.
Packit b099d7
.PP
Packit b099d7
The class pointer is \fBshellWidgetClass\fP\&.
Packit b099d7
.PP
Packit b099d7
The class name is \fBShell\fP\&.
Packit b099d7
.SS "New Resources"
Packit b099d7
.PP
Packit b099d7
The following table defines a set of widget resources used by the programmer
Packit b099d7
to specify data\&. The programmer can also set the resource values for the
Packit b099d7
inherited classes to set attributes for this widget\&. To reference a
Packit b099d7
resource by name or by class in a \fB\&.Xdefaults\fP file, remove the \fBXmN\fP or
Packit b099d7
\fBXmC\fP prefix and use the remaining letters\&. To specify one of the defined
Packit b099d7
values for a resource in a \fB\&.Xdefaults\fP file, remove the \fBXm\fP prefix and use
Packit b099d7
the remaining letters (in either lowercase or uppercase, but include any
Packit b099d7
underscores between words)\&.
Packit b099d7
The codes in the access column indicate if the given resource can be
Packit b099d7
set at creation time (C),
Packit b099d7
set by using \fBXtSetValues\fP (S),
Packit b099d7
retrieved by using \fBXtGetValues\fP (G), or is not applicable (N/A)\&.
Packit b099d7
.PP
Packit b099d7
.TS
Packit b099d7
tab(?) box;
Packit b099d7
c s s s s
Packit b099d7
l| l| l| l| l.
Packit b099d7
\fBShell Resource Set\fP
Packit b099d7
\fBName\fP?\fBClass\fP?\fBType\fP?\fBDefault\fP?\fBAccess\fP
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNallowShellResize?XmCAllowShellResize?Boolean?False?CG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNcreatePopupChildProc?XmCCreatePopupChildProc?XtCreatePopupChildProc?NULL?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNgeometry?XmCGeometry?String?NULL?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNoverrideRedirect?XmCOverrideRedirect?Boolean?False?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNpopdownCallback?XmCCallback?XtCallbackList?NULL?C
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNpopupCallback?XmCCallback?XtCallbackList?NULL?C
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNsaveUnder?XmCSaveUnder?Boolean?False?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNvisual?XmCVisual?Visual *?CopyFromParent?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
.TE
Packit b099d7
.IP "\fBXmNallowShellResize\fP" 10
Packit b099d7
Specifies that if this resource is False, the Shell widget instance
Packit b099d7
returns \fBXtGeometryNo\fP to all geometry requests from its children\&.
Packit b099d7
All Motif convenience create dialog functions override this default
Packit b099d7
value and set \fBXmNallowShellResize\fP to True\&.
Packit b099d7
.IP "\fBXmNcreatePopupChildProc\fP" 10
Packit b099d7
Specifies the pointer to a function that is called when the Shell
Packit b099d7
widget instance is popped up by \fBXtPopup\fP\&.
Packit b099d7
The function creates the child widget when the shell is popped up
Packit b099d7
instead of when the application starts up\&.
Packit b099d7
This can be used if the child needs to be reconfigured each time the
Packit b099d7
shell is popped up\&.
Packit b099d7
The function takes one argument, the popup shell, and returns no result\&.
Packit b099d7
It is called after the popup callbacks specified by
Packit b099d7
\fBXmNpopupCallback\fP\&.
Packit b099d7
.IP "\fBXmNgeometry\fP" 10
Packit b099d7
Specifies the desired geometry for the widget instance\&. This resource
Packit b099d7
is examined only when the widget instance is unrealized and the number
Packit b099d7
of its managed children is changed\&. It is used to change the values
Packit b099d7
of the \fBXmNx\fP, \fBXmNy\fP, \fBXmNwidth\fP, and \fBXmNheight\fP
Packit b099d7
resources\&.
Packit b099d7
When \fBXtGetValues\fP is called on this resource, the returned value
Packit b099d7
is a pointer to the actual resource value and
Packit b099d7
should not be freed\&. In addition, this resource is not copied on
Packit b099d7
creation or by \fBXtSetValues\fP\&. The application must ensure that
Packit b099d7
the string remains valid until the shell is realized\&.
Packit b099d7
.IP "\fBXmNoverrideRedirect\fP" 10
Packit b099d7
If True, specifies that the widget instance is a temporary
Packit b099d7
window that should be ignored by the window manager\&. Applications and
Packit b099d7
users should not normally alter this resource\&.
Packit b099d7
.IP "\fBXmNpopdownCallback\fP" 10
Packit b099d7
Specifies a list of callbacks that is called when the widget instance
Packit b099d7
is popped down by \fBXtPopdown\fP\&.
Packit b099d7
.IP "\fBXmNpopupCallback\fP" 10
Packit b099d7
Specifies a list of callbacks that is called when the widget instance
Packit b099d7
is popped up by \fBXtPopup\fP\&.
Packit b099d7
The second argument to \fBXtPopup\fP must be \fBXtGrabNone\fP\&.
Packit b099d7
.IP "\fBXmNsaveUnder\fP" 10
Packit b099d7
If True, specifies that it is desirable to save the contents of the
Packit b099d7
screen beneath this widget instance, avoiding expose events when the
Packit b099d7
instance is unmapped\&. This is a hint, and an implementation may save
Packit b099d7
contents whenever it desires, including always or never\&.
Packit b099d7
.IP "\fBXmNvisual\fP" 10
Packit b099d7
Specifies the visual used in creating the widget\&.
Packit b099d7
.SS "Inherited Resources"
Packit b099d7
.PP
Packit b099d7
Shell inherits behavior and resources from the
Packit b099d7
superclass described in the following table\&.
Packit b099d7
For a complete description of each resource, refer to the
Packit b099d7
reference page for that superclass\&.
Packit b099d7
.PP
Packit b099d7
.TS
Packit b099d7
tab(?) box;
Packit b099d7
c s s s s
Packit b099d7
l| l| l| l| l.
Packit b099d7
\fBComposite Resource Set\fP
Packit b099d7
\fBName\fP?\fBClass\fP?\fBType\fP?\fBDefault\fP?\fBAccess\fP
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNchildren?XmCReadOnly?WidgetList?NULL?G
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNinsertPosition?XmCInsertPosition?XtOrderProc?NULL?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNnumChildren?XmCReadOnly?Cardinal?0?G
Packit b099d7
_?_?_?_?_?
Packit b099d7
.TE
Packit b099d7
.PP
Packit b099d7
.TS
Packit b099d7
tab(?) box;
Packit b099d7
c s s s s
Packit b099d7
l| l| l| l| l.
Packit b099d7
\fBCore Resource Set\fP
Packit b099d7
\fBName\fP?\fBClass\fP?\fBType\fP?\fBDefault\fP?\fBAccess\fP
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNaccelerators?XmCAccelerators?XtAccelerators?dynamic?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNancestorSensitive?XmCSensitive?Boolean?dynamic?G
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNbackground?XmCBackground?Pixel?dynamic?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNbackgroundPixmap?XmCPixmap?Pixmap?XmUNSPECIFIED_PIXMAP?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNborderColor?XmCBorderColor?Pixel?XtDefaultForeground?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNborderPixmap?XmCPixmap?Pixmap?XmUNSPECIFIED_PIXMAP?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNborderWidth?XmCBorderWidth?Dimension?0?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNcolormap?XmCColormap?Colormap?dynamic?CG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNdepth?XmCDepth?int?dynamic?CG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNdestroyCallback?XmCCallback?XtCallbackList?NULL?C
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNheight?XmCHeight?Dimension?dynamic?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNinitialResourcesPersistent?XmCInitialResourcesPersistent?Boolean?True?C
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNmappedWhenManaged?XmCMappedWhenManaged?Boolean?True?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNscreen?XmCScreen?Screen *?dynamic?CG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNsensitive?XmCSensitive?Boolean?True?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNtranslations?XmCTranslations?XtTranslations?dynamic?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNwidth?XmCWidth?Dimension?dynamic?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNx?XmCPosition?Position?0?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
XmNy?XmCPosition?Position?0?CSG
Packit b099d7
_?_?_?_?_?
Packit b099d7
.TE
Packit b099d7
.SS "Translations"
Packit b099d7
.PP
Packit b099d7
There are no translations for Shell\&.
Packit b099d7
.SH "RELATED"
Packit b099d7
.PP
Packit b099d7
\fBComposite\fP(3) and \fBCore\fP(3)\&.
Packit b099d7
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:16