Scroll to navigation

XtClass(3Xt) XT FUNCTIONS XtClass(3Xt)

̾Á°

XtClass, XtSuperclass, XtIsSubclass, XtCheckSubclass, XtIsObject, XtIsRectObj, XtIsWidget, XtIsComposite, XtIsConstraint, XtIsShell, XtIsOverrideShell, XtIsWMShell, XtIsVendorShell, XtIsTransientShell, XtIsTopLevelShell, XtIsApplicationShell, XtIsSessionShell - ¥¦¥£¥¸¥§¥Ã¥È¥¯¥é¥¹¤ò¼èÆÀ¡¦³Îǧ¤¹¤ë

½ñ¼°

WidgetClass XtClass(w)
Widget w;

WidgetClass XtSuperclass(w)
Widget w;

Boolean XtIsSubclass(w, widget_class)
Widget w;
WidgetClass widget_class;

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

Boolean XtIsObject(w)
Widget w;

Boolean XtIsRectObj(w)
Widget w;

Boolean XtIsWidget(w)
Widget w;

Boolean XtIsComposite(w)
Widget w;

Boolean XtIsConstraint(w)
Widget w;

Boolean XtIsShell(w)
Widget w;

Boolean XtIsOverrideShell(w)
Widget w;

Boolean XtIsWMShell(w)
Widget w;

Boolean XtIsVendorShell(w)
Widget w;

Boolean XtIsTransientShell(w)
Widget w;

Boolean XtIsTopLevelShell(w)
Widget w;

Boolean XtIsApplicationShell(w)
Widget w;

Boolean XtIsSessionShell(w)
Widget w;

°ú¤­¿ô

¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£
¥¦¥£¥¸¥§¥Ã¥È¤Î¥¯¥é¥¹¤ò»ØÄꤹ¤ë¡£
»ÈÍѤ¹¤ë¥á¥Ã¥»¡¼¥¸¤ò»ØÄꤹ¤ë¡£

ÀâÌÀ

XtClass ´Ø¿ô¤Ï¡¢¥¦¥£¥¸¥§¥Ã¥È¤Î¥¯¥é¥¹¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤òÊÖ¤¹¡£

XtSuperclass ´Ø¿ô¤Ï¡¢¥¦¥£¥¸¥§¥Ã¥È¤Î¥¹¡¼¥Ñ¡¼¥¯¥é¥¹¤Î¥¯¥é¥¹¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤òÊÖ¤¹¡£

XtIsSubclass ´Ø¿ô¤Ï¡¢»ØÄꤵ¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥¯¥é¥¹¤¬»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤ÈƱ°ì¡¢¤Þ¤¿¤Ï ¤½¤Î¥µ¥Ö¥¯¥é¥¹¤Î¾ì¹ç¡¢ True ¤òÊÖ¤¹¡£ ¥¦¥£¥¸¥§¥Ã¥È¤Î¥¯¥é¥¹¤Ï¡¢¥Á¥§¥¤¥ó¤Î²¼¤Ë¤«¤Ê¤ê¿¤¯¤Î¥µ¥Ö¥¯¥é¥¹¤ò»ý¤Ä¤³¤È ¤¬¤Ç¤­¤ë¡£¤³¤Î´Ø¿ô¤Ï¡¢»ØÄꤷ¤¿¥¯¥é¥¹¤ÎľÀܤΥµ¥Ö¥¯¥é¥¹¤Ç¤Ê¤¯¤Æ¤â True ¤òÊÖ¤¹¡£ composite ¥¦¥£¥¸¥§¥Ã¥È¤Ï¡¢´Þ¤á¤ë¤³¤È¤Î¤Ç¤­¤ë¥¢¥¤¥Æ¥à¤Î¥¯¥é¥¹¤òÀ©¸Â¤·¤Æ ¤¤¤ë¡£¤³¤Î¾ì¹ç¡¢¥¦¥£¥¸¥§¥Ã¥È¤¬Í׵ᤵ¤ì¤ë¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¯¥é¥¹¤Ë°¤·¤Æ¤¤ ¤ë¤«¤É¤¦¤«¤ò¸¡ºº¤¹¤ë¤¿¤á¤Ë¡¢ XtIsSubclass ¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£

»ØÄꤷ¤¿¥¦¥£¥¸¥§¥Ã¥È¤¬»ØÄꤷ¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥¯¥é¥¹¤ÈƱ¤¸¤«¡¢¤Þ¤¿¤Ï¤½¤Î ¥µ¥Ö¥¯¥é¥¹¤«¤É¤¦¤«¤ò¡¢ XtCheckSubclass ¥Þ¥¯¥í¤Ï³Îǧ¤¹¤ë¡£ ¥¦¥£¥¸¥§¥Ã¥È¤Ï¥Á¥§¥¤¥ó¤Î²¼¤Ë¤«¤Ê¤ê¿¤¯¤Î¥µ¥Ö¥¯¥é¥¹¤ò»ý¤Ä¤³¤È¤¬¤Ç¤­¤ë¡£ ¤³¤ì¤Ï»ØÄꤷ¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥¯¥é¥¹¤Ë¤ª¤±¤ë¡¢Ä¾ÀܤΥµ¥Ö¥¯¥é¥¹¤Ç¤Ê¤¯¤Æ¤â ¤è¤¤¡£ »ØÄꤷ¤¿¥¦¥£¥¸¥§¥Ã¥È¤¬¥µ¥Ö¥¯¥é¥¹¤Ç¤Ê¤¤¤Ê¤é¤Ð¡¢ XtCheckSubclass ¤ÏÄ󶡤µ¤ì¤¿¥á¥Ã¥»¡¼¥¸¡¢¥¦¥£¥¸¥§¥Ã¥È¤Î¼ÂºÝ¤Î¥¯¥é¥¹¡¢Í½ÁÛ¤µ¤ì¤ë¥¯¥é¥¹¤« ¤é¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤òºîÀ®¤·¡¢ XtErrorMsg ¤ò¸Æ¤Ó½Ð¤¹¡£ XtCheckSubclass ¤Ï¡¢¥¨¥¯¥¹¥Ý¡¼¥È¥ë¡¼¥Á¥ó¤Î¥¨¥ó¥È¥ê¥Ý¥¤¥ó¥È¤Ç»ÈÍѤµ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ ¤³¤ì¤Ï¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¥ë¡¼¥Á¥ó¤ËÍ­¸ú¤Ê¥¦¥£¥¸¥§¥Ã¥È¤Î¥¯¥é¥¹¤ò¡¢¥¯ ¥é¥¤¥¢¥ó¥È¤¬ÅϤ¹¤Î¤ò³Î¼Â¤Ë¤¹¤ë¤¿¤á¤Ç¤¢¤ë¡£

¥¦¥£¥¸¥§¥Ã¥È¤¬¥³¥ó¥Ñ¥¤¥é¥·¥ó¥Ü¥ë DEBUG ¤òÄêµÁ¤·¡¢¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤ë »þ¤À¤± XtCheckSubclass ¤¬¼Â¹Ô¤µ¤ì¤ë¡£ÄêµÁ¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¶õ¤Îʸ»úÎó¤È¤·¤ÆÄêµÁ¤µ¤ì¡¢¥³¡¼¥É¤ÏÀ¸ À®¤µ¤ì¤Ê¤¤¡£

Í¿¤¨¤é¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤¬¡¢¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹¤ÇÄêµÁ¤µ¤ì¤¿¥¯¥é¥¹¤Î¥µ¥Ö¥¯¥é ¥¹¤Ë½ê°¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¥Æ¥¹¥È¤¹¤ë¤¿¤á¤Ë¡¢¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹¤ÏÁȹþ¤ß¤Î ¥¯¥é¥¹¤Î³Æ¡¹¤ËÂФ·¤Æ¥Þ¥¯¥í¡¢¤Þ¤¿¤Ï XtIsSubclass ¤ÈÅù²Á¤Ê´Ø¿ô¤òÄêµÁ¤·¤Æ¤¤¤ë¡£ ¤½¤Î¼ê³¤­¤Ï XtIsObject, XtIsRectObj, XtIsWidget, XtIsComposite, XtIsConstraint, XtIsShell, XtIsOverrideShell, XtIsWMShell, XtIsVendorShell, XtIsTransientShell, XtIsTopLevelShell, XtIsApplicationShell, XtIsSessionShell ¤Ç¤¢¤ë¡£

´ØÏ¢¹àÌÜ

XtAppErrorMsg(3Xt), XtDisplay(3Xt)
X ¥Ä¡¼¥ë¥­¥Ã¥È ¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹ - C ¸À¸ì¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹
Xlib - C ¸À¸ì X ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹

Release 6.5 X Version 11