XtCheckSubclass man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XtCheckSubclass(3X)		 XT FUNCTIONS		   XtCheckSubclass(3X)

NAME
       XtCheckSubclass - obtain and verify a widget's class

SYNTAX
       void XtCheckSubclass(w, widget_class, message)
	     Widget w;
	     WidgetClass widget_class;
	     String message;

ARGUMENTS
       w	 Specifies the widget.

       widget_class
		 Specifies the widget class.

       message	 Specifies the message that is to be used.

DESCRIPTION
       The XtCheckSubclass macro determines if the class of the specified wid‐
       get 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.

SEE ALSO
       XtClass(3X), XtSuperclass(3X), XtIsSubclass(3X), XtIsObject(3X), XtIs‐
       RectObj(3X), XtIsWidget(3X), XtIsComposite(3X), XtIsConstraint(3X),
       XtIsShell(3X), XtIsOverrideShell(3X), XtIsWMShell(3X), XtIsVendor‐
       Shell(3X), XtIsTransientShell(3X), XtIsTopLevelShell(3X), XtIsApplica‐
       tionShell(3X), XtIsSessionShell(3X)

X Version 11			   Release 6		   XtCheckSubclass(3X)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net