OverrideShell()OverrideShell()NameOverrideShell widget class - popup shell that bypasses window manage‐
ment.
Synopsis
Public Headers: <X11/StringDefs.h>
<X11/Shell.h>
Private Header: <X11/ShellP.h>
Class Name: OverrideShell
Class Hierarchy: Core → Composite → Shell → OverrideShell
Class Pointer: overrideShellWidgetClass
Instantiation: widget = XtCreatePopupShell(name,
overrideShellWidgetClass, ...)
Functions/Macros: XtIsOverrideShell()DescriptionOverrideShell is a direct subclass of Shell that performs no
interaction with window managers. It is used for widgets (such as
popup menus) that should bypass the window manager.
New ResourcesOverrideShell defines no new resources, but it redefines the default
values of both XtNoverrideRedirect and XtNsaveUnder to True.
Inherited ResourcesOverrideShell inherits the following resources. The resources are
listed alphabetically, along with the superclass that defines them.
Resource Inherited From Resource Inherited From
XtNaccelerators Core XtNinitialResources- Core
Persistent
XtNallowShellResize Shell XtNinsertPosition Composite
XtNancestorSensitive Core XtNmappedWhenManaged Core
XtNbackground Core XtNnumChildren Composite
XtNbackgroundPixmap Core XtNoverrideRedirect Shell
XtNborderColor Core XtNpopdownCallback Shell
XtNborderPixmap Core XtNpopupCallback Shell
XtNborderWidth Core XtNsaveUnder Shell
XtNchildren Composite XtNscreen Core
XtNcolormap Core XtNsensitive Core
XtNcreatePopupChild- Shell XtNtranslations Core
ProcXtNdepth Core XtNvisual Shell
XtNdestroyCallback Core XtNwidth Core
XtNgeometry Shell XtNx Core
XtNheight Core XtNy Core
Class Structure
The OverrideShell class structure contains only an extension field.
Its declaration is similar to those of the other shells:
typedef struct {
XtPointer extension;/* pointer to extension record */
} OverrideShellClassPart;
typedef struct _OverrideShellClassRec {
CoreClassPart core_class;
CompositeClassPart composite_class;
ShellClassPart shell_class;
OverrideShellClassPart override_shell_class;
} OverrideShellClassRec;
There are no extensions currently defined for this class, and the
extension field should be NULL.
Instance Structure
The OverrideShell instance structure contains no new fields:
typedef struct { int empty; } OverrideShellPart;
typedef struct {
CorePart core;
CompositePart composite;
ShellPart shell;
OverrideShellPart override;
} OverrideShellRec, *OverrideShellWidget;
See AlsoShell(3).
Intrinsics ClassesOverrideShell()