XtIsTopLevelShell(3)


HOME

XtClass

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XtClass, XtSuperclass, XtIsSubclass, XtCheckSubclass, XtIsObject, XtIsRectObj, XtIsWidget, XtIsComposite, XtIsConstraint, XtIsShell, XtIsOverrideShell, XtIsWMShell, XtIsVendorShell, XtIsTransientShell, XtIsTopLevelShell, XtIsApplicationShell, XtIsSessionShell − obtain and verify a widget’s class

SYNTAX

WidgetClass XtClass(Widget w);

WidgetClass XtSuperclass(Widget w);

Boolean XtIsSubclass(Widget w, WidgetClass widget_class);

void XtCheckSubclass(Widget widget, WidgetClass widget_class, String message);

Boolean XtIsObject(Widget w);

Boolean XtIsRectObj(Widget w);

Boolean XtIsWidget(Widget w);

Boolean XtIsComposite(Widget w);

Boolean XtIsConstraint(Widget w,

Boolean XtIsShell(Widget w);

Boolean XtIsOverrideShell(Widget w);

Boolean XtIsWMShell(Widget w);

Boolean XtIsVendorShell(Widget w);

Boolean XtIsTransientShell(Widget w);

Boolean XtIsTopLevelShell(Widget w);

Boolean XtIsApplicationShell(Widget w);

Boolean XtIsSessionShell(Widget w);

ARGUMENTS

w

Specifies the widget.

widget_class

Specifies the widget class.

message

Specifies the message that is to be used.

DESCRIPTION

The XtClass function returns a pointer to the widget’s class structure.

The XtSuperclass function returns a pointer to the widget’s superclass class structure.

The XtIsSubclass function returns True if the class of the specified widget is equal to or is a subclass of the specified class. The widget’s class can be any number of subclasses down the chain and need not be an immediate subclass of the specified class. Composite widgets that need to restrict the class of the items they contain can use XtIsSubclass to find out if a widget belongs to the desired class of objects.

The XtCheckSubclass macro determines if the class of the specified widget is equal to or is a subclass of the specified widget class. The widget can be any number of subclasses down the chain and need not be an immediate subclass of the specified widget class. If the specified widget is not a subclass, XtCheckSubclass constructs an error message from the supplied message, the widget’s actual class, and the expected class and calls XtErrorMsg. XtCheckSubclass should be used at the entry point of exported routines to ensure that the client has passed in a valid widget class for the exported operation.

XtCheckSubclass is only executed when the widget has been compiled with the compiler symbol DEBUG defined; otherwise, it is defined as the empty string and generates no code.

To test if a given widget belongs to a subclass of an Intrinsics-defined class, the Intrinsics defines macros or functions equivalent to XtIsSubclass for each of the built-in classes. These procedures are XtIsObject, XtIsRectObj, XtIsWidget, XtIsComposite, XtIsConstraint, XtIsShell, XtIsOverrideShell, XtIsWMShell, XtIsVendorShell, XtIsTransientShell, XtIsTopLevelShell, XtIsApplicationShell, and XtIsSessionShell.

The

SEE ALSO

XtAppErrorMsg(3Xt), XtDisplay(3Xt)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface



More Linux Commands

manpages/tcgetsid.3.html
tcgetsid(3) - get session ID (Library - Linux man page).....
The function tcgetsid() returns the session ID of the current session that has the terminal associated to fd as controlling terminal. This terminal must be the

manpages/ccosh.3.html
ccosh(3) - complex hyperbolic cosine - Linux manual page....
The complex hyperbolic cosine function is defined as: ccosh(z) = (exp(z)+exp(-z))/2 VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING

manpages/ModPerl::RegistryLoader.3pm.html
ModPerl::RegistryLoader(3pm) - Compile ModPerl::RegistryCook
This modules allows compilation of scripts, running under packages derived from ModPerl::RegistryCooker, at server startup. The scripts handler routine is compi

manpages/XCompositeReleaseOverlayWindow.3.html
XCompositeReleaseOverlayWindow(3) - X Composite Extension li
The composite extension provides several related mechanisms: Per-hierarchy storage The rendering of an entire hierarchy of windows is redirected to off-screen s

manpages/Tcl_QueryTimeProc.3.html
Tcl_QueryTimeProc(3) - get date and time - Linux man page...
The Tcl_GetTime function retrieves the current time as a Tcl_Time structure in memory the caller provides. This structure has the following definition: typedef

manpages/nm-system-settings.conf.5.html
nm-system-settings.conf(5) - Deprecated NetworkManager confi
nm-system-settings.conf is a deprecated configuration file for NetworkManager 411toppm(1). While this file can still be used, NetworkManager now defaults to rea

manpages/hunspell.3.html
hunspell(3) - spell checking, stemming, morphological genera
The Hunspell library routines give the user word-level linguistic functions: spell checking and correction, stemming, morphological generation and analysis in i

manpages/XcmsCIELabQueryMaxL.3.html
XcmsCIELabQueryMaxL(3) - obtain the CIE L*a*b* coordinates
The XcmsCIELabQueryMaxC function, given a hue angle and lightness, finds the point of maximum chroma displayable by the screen. It returns this point in CIE L*a

manpages/if.n.html
if(n) - Execute scripts conditionally - Linux manual page...
The if command evaluates expr1 as an expression (in the same way that expr evaluates its argument). The value of the expression must be a boolean (a numeric val

manpages/getservbyname_r.3.html
getservbyname_r(3) - get service entry (reentrant) (ManPage)
The getservent_r(), getservbyname_r(), and getservbyport_r() functions are the reentrant equivalents of, respectively, getservent(3), getservbyname(3), and gets

manpages/ooconvert.1.html
ooconvert(1) - Commandline Document Converter Using LibreOff
This tool converts documents between various formats on the commandline. It uses LibreOffice that guarantees the quality of available import and export filters.

manpages/XkbSetDeviceButtonActions.3.html
XkbSetDeviceButtonActions(3) - Change only the button action
XkbSetDeviceButtonActions assigns actions to the buttons of the device specified in device_info->device_spec. Actions are assigned to num_buttons buttons beginn





We can't live, work or learn in freedom unless the software we use is free.