XtClass
NAMESYNTAX
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/XtRealizeWidget.3.html
XtRealizeWidget(3) - realize and unrealize widgets (ManPage)
If the widget is already realized, XtRealizeWidget simply returns. Otherwise, it performs the following: * Binds all action names in the widgets translation tab
manpages/mcopy.1.html
mcopy(1) - copy MSDOS files to/from Unix - Linux man page...
The mcopy command is used to copy MS-DOS files to and from Unix. It uses the following syntax: mcopy [-bspanvmQT] [-D clash_option] sourcefile targetfile mcopy
manpages/vgremove.8.html
vgremove(8) - remove a volume group - Linux manual page.....
vgremove allows you to remove one or more volume groups. If one or more physical volumes in the volume group are lost, consider vgreduce --removemissing to make
manpages/XpPutDocumentData.3x.html
XpPutDocumentData(3x) - (unknown subject) - Linux man page
Depending on type for XpStartDoc, XpPutDocumentData has two modes of operation. In XPDocRaw mode, XpPutDocumentData sends data directly to the output, and drawa
manpages/printf.3.html
printf(3) - formatted output conversion - Linux manual page
The functions in the printf() family produce output according to a format as described below. The functions printf() and vprintf() write output to stdout, the s
manpages/syslinux.1.html
syslinux(1) install the SYSLINUX bootloader on a FAT filesys
Syslinux is a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem. It is intended to simplify first-time installation
manpages/Tcl_InitStubs.3.html
Tcl_InitStubs(3) - initialize the Tcl stubs mechanism.......
Tcl_InitStubs attempts to initialize the stub table pointers and ensure that the correct version of Tcl is loaded. In addition to an interpreter handle, it acce
manpages/setpgrp.2.html
setpgrp(2) - set/get process group - Linux manual page......
All of these interfaces are available on Linux, and are used for getting and setting the process group ID (PGID) of a process. The preferred, POSIX.1-specified
manpages/ppoll.2.html
ppoll(2) - wait for some event on a file descriptor.........
poll() performs a similar task to select(2): it waits for one of a set of file descriptors to become ready to perform I/O. The set of file descriptors to be mon
manpages/perlwin32.1.html
perlwin32(1) - Perl under Windows - Linux manual page.......
Before you start, you should glance through the README file found in the top-level directory to which the Perl distribution was extracted. Make sure you read an
manpages/bdftruncate.1.html
bdftruncate(1) - generate truncated BDF font from ISO 10646-
bdftruncate allows one to generate from an ISO10646-1 encoded BDF font other ISO10646-1 BDF fonts in which all characters above a threshold code value are store
manpages/CPU_ZERO_S.3.html
CPU_ZERO_S(3) - macros for manipulating CPU sets (Man Page)
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented
