XtIsApplicationShell(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/ogg123.1.html
ogg123(1) - plays Ogg Vorbis files - Linux manual page......
ogg123 reads Ogg Vorbis audio files and decodes them to the devices specified on the command line. By default, ogg123 writes to the standard sound device, but o

manpages/gpg2.1.html
gpg2(1) - OpenPGP encryption and signing tool (Man Page)....
gpg2 is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a tool to provide digital encryption and signing services using the OpenPGP standard. gpg2 feat

manpages/soelim.1.html
soelim(1) - interpret .so requests in groff input (ManPage)
soelim reads files and replaces lines of the form .so file by the contents of file. It is useful if files included with .so need to be preprocessed. Normally, s

manpages/SDL_CDPlayTracks.3.html
SDL_CDPlayTracks(3) - Play the given CD track(s) (Man Page)
SDL_CDPlayTracks plays the given CD starting at track start_track, for ntracks tracks. start_frame is the frame offset, from the beginning of the start_track, a

manpages/rtc.4.html
rtc(4) - real-time clock (Special files - Linux man page)...
This is the interface to drivers for real-time clocks (RTCs). Most computers have one or more hardware clocks which record the current wall clock time. These ar

manpages/pcre16_pattern_to_host_byte_order.3.html
pcre16_pattern_to_host_byte_order(3) Perl-compatible regular
This function ensures that the bytes in 2-byte and 4-byte values in a compiled pattern are in the correct order for the current host. It is useful when a patter

manpages/fstobdf.1.html
fstobdf(1) - generate BDF font from X font server (ManPage)
The fstobdf program reads a font from a font server and prints a BDF file on the standard output that may be used to recreate the font. This is useful in testin

manpages/XChangeProperty.3.html
XChangeProperty(3) - obtain and change window properties....
The XGetWindowProperty function returns the actual type of the property; the actual format of the property; the number of 8-bit, 16-bit, or 32-bit items transfe

manpages/XML::SAX::ParserFactory.3pm.html
XML::SAX::ParserFactory(3pm) - Obtain a SAX parser (ManPage)
XML::SAX::ParserFactory is a factory class for providing an application with a Perl SAX2 XML parser. It is akin to DBI - a front end for other parser classes. E

manpages/glTexCoord3d.3gl.html
glTexCoord3d(3gl) - set the current texture coordinates.....
glTexCoord specifies texture coordinates in one, two, three, or four dimensions. glTexCoord1 sets the current texture coordinates to (s, 0, 0, 1); a call to glT

manpages/CPU_EQUAL_S.3.html
CPU_EQUAL_S(3) - macros for manipulating CPU sets (ManPage)
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

manpages/SDL_GetKeyState.3.html
SDL_GetKeyState(3) - Get a snapshot of the current keyboard
Gets a snapshot of the current keyboard state. The current state is return as a pointer to an array, the size of this array is stored in numkeys. The array is i





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