XtIsComposite(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/lvmconf.8.html
lvmconf(8) - LVM configuration modifier - Linux manual page
lvmconf is a script that modifies the locking configuration in an lvm configuration file. See lvm.conf(5). OPTIONS --disable-cluster Set locking_type to the def

manpages/session-keyring.7.html
session-keyring(7) Session shared process keyring (ManPage)
The session keyring is a keyring used to anchor keys on behalf of a process. It is typically created by the pam_keyinit module when a user logs in and a link wi

manpages/penmount.4.html
penmount(4) - PenMount input driver - Linux manual page.....
penmount is an Xorg input driver for PenMount devices... The penmount driver functions as a pointer input device, and may be used as the X servers core pointer.

manpages/racoon.8.html
racoon(8) - IKE (ISAKMP/Oakley) key management daemon.......
racoon speaks the IKE (ISAKMP/Oakley) key management protocol, to establish security associations with other hosts. The SPD (Security Policy Database) in the ke

manpages/sigtrap.3pm.html
sigtrap(3pm) - Perl pragma to enable simple signal handling
The sigtrap pragma is a simple interface to installing signal handlers. You can have it install one of two handlers supplied by sigtrap itself (one which provid

manpages/XUnmapEvent.3.html
XUnmapEvent(3) - UnmapNotify event structure (Man Page).....
The structure for UnmapNotify events contains: typedef struct { int type; /* UnmapNotify */ unsigned long serial; /* # of last request processed by server */ Bo

manpages/gluSphere.3gl.html
gluSphere(3gl) - draw a sphere (Library - Linux man page)...
gluSphere draws a sphere of the given radius centered around the origin. The sphere is subdivided around the z axis into slices and along the z axis into stacks

manpages/lzmore.1.html
lzmore(1) - view xz or lzma compressed (text) files.........
xzmore is a filter which allows examination of xz(1) or lzma(1) compressed text files one screenful at a time on a soft-copy terminal. To use a pager other than

manpages/slk_color_sp.3ncurses.html
slk_color_sp(3ncurses) - curses screen-pointer extension....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/gnutls_session_get_id.3.html
gnutls_session_get_id(3) - API function - Linux manual page
Returns the current session id. This can be used if you want to check if the next session you tried to resume was actually resumed. This is because resumed sess

manpages/newscr.3ncurses.html
newscr(3ncurses) - curses global variables - Linux man page
This page summarizes variables provided by the curses library. A more complete description is given in the curses(3X) manual page. Depending on the configuratio

manpages/sccmap.1.html
sccmap(1) - extract strongly connected components of directe
sccmap decomposes digraphs into strongly connected components and an auxiliary map of the relationship between components. In this map, each component is collap





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