XtManageChildren(3Xt) | XT FUNCTIONS | XtManageChildren(3Xt) |
̾Á°¶
XtManageChildren, XtManageChild, XtUnmanageChildren, XtUnmanageChild, XtChangeManagedSet, XtIsManaged - »Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¥Þ¥Í¡¼¥¸¤È¥Þ¥Í¡¼¥¸²ò½ü¤ò¹Ô¤¦
½ñ¼°¶
typedef Widget *WidgetList;
void XtManageChildren(children, num_children)
WidgetList children;
Cardinal num_children;
void XtManageChild(child)
Widget child;
void XtUnmanageChildren(children, num_children)
WidgetList children;
Cardinal num_children;
void XtUnmanageChild(child)
Widget child;
void XtChangeManagedSet(unmanage_children,
num_unmanage_children, manage_children,
num_manage_children, post_unmanage_pre_manage_hook,
client_data)
WidgetList unmanage_children;
Cardinal num_unmanage_children;
WidgetList manage_children;
Cardinal num_manage_children;
XtCSMProc post_unmanage_pre_manage_hook;
XtPointer client_data;
Boolean XtIsManaged(widget)
Widget widget
°ú¤¿ô¶
- child
- »Ò¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£
- children
- »Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£
- num_children
- »Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¿ô¤ò»ØÄꤹ¤ë¡£
- widget
- ¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£
- manage_children
- ¥Þ¥Í¡¼¥¸¥»¥Ã¥È¤ËÄɲ乤ë»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£
- num_manage_children
- manage_children ¥ê¥¹¥ÈÆâ¤Î¥¨¥ó¥È¥ê¡¼¿ô¤ò»ØÄꤹ¤ë¡£
- unmanage_children
- ¥Þ¥Í¡¼¥¸¥»¥Ã¥È¤«¤é¼è¤ê½ü¤¯»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£
- num_unmanage_children
- unmanage_children ¥ê¥¹¥ÈÆâ¤Î¥¨¥ó¥È¥ê¡¼¿ô¤ò»ØÄꤹ¤ë¡£
- post_unmanage_pre_manage_hook
- ¥Þ¥Í¡¼¥¸²ò½ü¸å¡¢¥Þ¥Í¡¼¥¸Á°¤Ë¸Æ¤Ó½Ð¤¹¥Õ¥Ã¥¯¼ê³¤¤ò»ØÄꤹ¤ë¡£
- client_data
- ¥Õ¥Ã¥¯¼ê³¤¤ËÅϤ¹¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿¤ò»ØÄꤹ¤ë¡£
ÀâÌÀ¶
´Ø¿ô XtManageChildren ¤Ï°Ê²¼¤Î½èÍý¤ò¹Ô¤¦:
- ¿Æ¤Î°Û¤Ê¤ë»Ò¥¦¥£¥¸¥§¥Ã¥È¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¤ä¿Æ¥¦¥£¥¸¥§¥Ã¥È¤¬ compositeWidgetClass ¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤Ê¤¤¾ì¹ç¤Ë¡¢¥¨¥é¡¼¤ò½Ð¤¹¡£
- ¶¦Ä̤οƤ¬ÇË´þ¤µ¤ì¤è¤¦¤È¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢Â¨ºÂ¤ËÌá¤Ã¤Æ¤¯¤ë¡£¤½¤¦¤Ç¤Ê¤±¤ì ¤Ð¡¢¥ê¥¹¥ÈÃæ¤Î¥æ¥Ë¡¼¥¯¤Ê»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¤½¤ì¤¾¤ì¤ËÂФ·¤Æ¡¢ XtManageChildren ¤Ï¡¢¤½¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤¬´û¤Ë¥Þ¥Í¡¼¥¸¤µ¤ì¤Æ¤¤¤ë¤«¡¢ÇË´þ¤µ¤ì¤è¤¦¤È¤·¤Æ¤¤ ¤ë¾ì¹ç¤Ë¤Ï¤³¤ì¤ò¤ò̵»ë¤¹¤ë¡£¤Þ¤¿¡¢¥Þ¡¼¥¯¤¬ÉÕ¤¤¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¤³¤ì¤Ë¥Þ¡¼ ¥¯¤òÉÕ¤±¤ë¡£
- ¿Æ¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤Æ¡¢¤«¤ÄÁ´¤Æ¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤Ë¥Þ¡¼¥¯ ¤¬ÉÕ¤±¤é¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¿·¤·¤¯¥Þ¥Í¡¼¥¸¤µ¤ì¤¿»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î°ìÉô¤Ïɽ¼¨²Ä ǽ¤Ë¤Ê¤ë¡£
- ¤½¤Î¥¦¥£¥¸¥§¥Ã¥È¤Î¿Æ¥¦¥£¥¸¥§¥Ã¥È¤Î change_managed ¼ê³¤¤ò¸Æ¤Ö¡£
- Á°¤Ë¥Þ¥Í¡¼¥¸²ò½ü¤µ¤ì¤¿»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¤¦¤Á¡¢¥ê¥¢¥é¥¤¥º²ò½ü¤µ¤ì¤Æ¤¤¤ë¤â ¤Î¤½¤ì¤¾¤ì¤Ë¤Ä¤¤¤Æ XtRealizeWidget ¤ò¸Æ¤Ö¡£
- Á°¤Ë¥Þ¥Í¡¼¥¸²ò½ü¤µ¤ì¤¿»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¤¦¤Á¡¢map_when_managed ¤¬ True ¤Ç¤¢¤ë¤â¤Î¤½¤ì¤¾¤ì¤ò¥Þ¥Ã¥×¤¹¤ë¡£
»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¥Þ¥Í¡¼¥¸¤Ï¡¢»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î½ç½ø¤È¤ÏÆÈΩ¤Ç¤¢¤ê¡¢»Ò¥¦¥£ ¥¸¥§¥Ã¥È¤ÎÀ¸À®¤äÇË´þ¤È¤âÆÈΩ¤Ç¤¢¤ë¡£ ¿Æ¥¦¥£¥¸¥§¥Ã¥È¤Î¥ì¥¤¥¢¥¦¥È¥ë¡¼¥Á¥ó¤Ï, managed ¥Õ¥£¡¼¥ë¥É¤¬ True ¤Ç¤¢¤ë»Ò¥¦¥£¥¸¥§¥Ã¥È¤ò¹Íθ¤ËÆþ¤ì¡¢¤½¤ì°Ê³°¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤òÁ´¤Æ̵»ë¤¹ ¤ë¡£ Ê£¹ç¥¦¥£¥¸¥§¥Ã¥È¤ÎÃæ¤Ë¤Ï(Æä˸ÇÄꤵ¤ì¤¿¥Ü¥Ã¥¯¥¹)¡¢insert_child ¼ê³¤ ¤ÎÃ椫¤é XtManageChild ¤ò¸Æ¤Ö¤â¤Î¤¬¤¢¤ëÅÀ¤ËÃí°Õ¤»¤è¡£
¿Æ¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢¥Þ¥Í¡¼¥¸¤µ¤ì¤Æ¤¤¤ë»Ò¥¦¥£¥¸¥§¥Ã ¥È¤Î½¸¹ç¤¬ÊѲ½¤·¤¿¤³¤È¤òÄÌÃΤ¹¤ë¤¿¤á¤Ë¡¢¿Æ¥¦¥£¥¸¥§¥Ã¥È¤Î change_managed ¼ê³¤¤¬¸Æ¤Ð¤ì¤ë¡£ ¤³¤ì¤Ë¤è¤ê¡¢¿Æ¥¦¥£¥¸¥§¥Ã¥È¤Ï»Ò¥¦¥£¥¸¥§¥Ã¥È¤ÎºÆÇÛÃ֤䥵¥¤¥ºÊѹ¹¤ò¹Ô¤¦¤³ ¤È¤¬¤Ç¤¤ë¡£ ¿Æ¥¦¥£¥¸¥§¥Ã¥È¤Ï¡¢É¬Íפ˱þ¤¸¤Æ XtMoveWidget ¤ò¸Æ¤ó¤Ç¡¢¤½¤ì¤¾¤ì¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤òÆ°¤«¤¹¤³¤È¤¬¤Ç¤¤ë¡£ ¤³¤Î´Ø¿ô¤Ï¡¢¤Þ¤º x, y ¥Õ¥£¡¼¥ë¥É¤ò¹¹¿·¤·¡¢¼¡¤Ë¡¢¤³¤Î¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢ ¥é¥¤¥º¤µ¤ì¤Æ¤¤¤ì¤Ð XMoveWindow ¤ò¸Æ¤Ö¡£
´Ø¿ô XtManageChild ¤Ï¡¢Ä¹¤µ¤¬1¤Î WidgetList ¤òºî¤ê¡¢ XtManageChildren ¤ò¸Æ¤Ö¡£
´Ø¿ô XtUnmanageChildren °Ê²¼¤ÎÆ°ºî¤ò¹Ô¤¦:
- ¿Æ¤Î°Û¤Ê¤ë»Ò¥¦¥£¥¸¥§¥Ã¥È¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¤ä¿Æ¥¦¥£¥¸¥§¥Ã¥È¤¬ compositeWidgetClass ¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤Ê¤¤¾ì¹ç¤Ë¡¢¥¨¥é¡¼¤ò½Ð¤¹¡£
- ¶¦Ä̤οƤ¬ÇË´þ¤µ¤ì¤è¤¦¤È¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢Â¨ºÂ¤ËÌá¤Ã¤Æ¤¯¤ë¡£¤½¤¦¤Ç¤Ê¤±¤ì ¤Ð¡¢¥ê¥¹¥ÈÃæ¤Î¥æ¥Ë¡¼¥¯¤Ê»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î¤½¤ì¤¾¤ì¤ËÂФ·¤Æ¡¢ XtUnmanageChildren ¤¬°Ê²¼¤Î½èÍý¤ò¹Ô¤¦:
- ¤½¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤¬´û¤Ë¥Þ¥Í¡¼¥¸²ò½ü¤µ¤ì¤Æ¤¤¤ë¤«¡¢ÇË´þ¤µ¤ì¤è¤¦¤È¤·¤Æ¤¤ ¤ë¾ì¹ç¤Ë¤Ï¤³¤ì¤ò¤ò̵»ë¤¹¤ë¡£¤Þ¤¿¡¢¥Þ¡¼¥¯¤¬ÉÕ¤¤¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¤³¤ì¤Ë¥Þ¡¼ ¥¯¤òÉÕ¤±¤ë¡£
- »Ò¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤³¤ì¤Ï¥Þ¥Ã¥×²ò½ü¤Ë¤è¤Ã¤ÆÉÔ²Ä »ë¤Î¾õÂ֤ˤµ¤ì¤ë¡£
- •
- ¿Æ¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢Á´¤Æ¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤Ë¥Þ¡¼¥¯¤ò ÉÕ¤±½ª¤Ã¤¿¸å¤Ç¡¢¿Æ¥¦¥£¥¸¥§¥Ã¥È¤Î change_managed ¼ê³¤¤ò¸Æ¤Ö¡£
XtUnmanageChildren ¤Ï¡¢»Ò¥¦¥£¥¸¥§¥Ã¥È¤òÇË´þ¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£ ¿Æ¥¦¥£¥¸¥§¥Ã¥È¤Î¥Þ¥Í¡¼¥¸¥»¥Ã¥È¤«¤é¥¦¥£¥¸¥§¥Ã¥È¤òºï½ü¤¹¤ë¤³¤È¤Ï¡¢°ì»þŪ ¤Ë¥¦¥£¥¸¥§¥Ã¥È¤ò¼è¤ê½ü¤¤¤Æ¤¤¤ë¤À¤±¤Î¤³¤È¤¬Â¿¤¤¡£¤³¤Î¾ì¹ç¤Ë¤Ï¡¢¸å¤ÇºÆ¤Ó »Ò¥¦¥£¥¸¥§¥Ã¥È¤ò¥Þ¥Í¡¼¥¸¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
´Ø¿ô XtUnmanageChild ¤Ï¡¢Ä¹¤µ1¤Î¥¦¥£¥¸¥§¥Ã¥È¥ê¥¹¥È¤òºî¤ê¡¢ XtUnmanageChildren ¤ò¸Æ¤Ó½Ð¤¹¡£
XtChangeManagedSet ¤Ï¡¢°Ê²¼¤ÎÆ°ºî¤ò¹Ô¤¦:
- manage_children ¥ê¥¹¥È¤È unmanage_children ¥ê¥¹¥È¤Ç»ØÄꤵ ¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤Ë¿Æ¤Î°Û¤Ê¤ë¤â¤Î¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¤ä¡¢¿Æ¥¦¥£¥¸¥§¥Ã¥È¤¬ compositeWidgetClass ¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤Ê¤¤¾ì¹ç¤Ë¡¢¥¨¥é¡¼¤ò½Ð¤¹¡£
- ¶¦Ä̤οƤ¬ÇË´þ¤µ¤ì¤è¤¦¤È¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢Â¨ºÂ¤ËÌá¤Ã¤Æ¤¯¤ë¡£
- CompositeClassExtension ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï CompositeClassExtension ¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤¬ allows_change_managed_set ¥Õ¥£¡¼¥ë¥É¤ÎÃͤ¬ False ¤Ç¤¢¤ê¡¢¤«¤Ä XtChangeManagedSet ¤¬ NULL ¤Ç¤Ê¤¤ post_unmanage_pre_manage_hook ¼ê³¤¤ò»ØÄꤷ¤Æ¸Æ ¤Ó½Ð¤µ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢ XtChangeManagedSet ¤Ï°Ê²¼¤ÎÆ°ºî¤ò¹Ô¤¦:
- XtUnmanageChildren (unmanage_children, num_unmanage_children) ¤ò¸Æ¤Ó½Ð¤¹¡£
- »ØÄꤵ¤ì¤¿ post_unmanage_pre_manage_hook ¤ò¸Æ¤Ó½Ð¤¹¡£
- XtManageChildren (manage_children, num_manage_children) ¤ò¸Æ¤Ó½Ð¤·¡¢¤½¤Î¸å¤¹¤°¤ËÌá¤ë¡£
- •
- ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ç¡¢allows_change_managed_set ¤ÎÃͤ¬ True ¤Ç¤¢¤ë CompositeClassExtension ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï CompositeClassExtension ¤¬ÄêµÁ¤µ¤ì¤Æ¤ª¤é¤º¡¢¤«¤Ä NULL ¤Ç¤¢¤ë post_unmanage_pre_manage_hook ¼ê³¤¤ò»È¤Ã¤Æ XtChangeManagedSet ¤¬¸Æ¤Ó½Ð¤µ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢°Ê²¼¤Î½èÍý¤¬¹Ô¤ï¤ì¤ë:
- unmanage_children ¥ê¥¹¥È¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤½¤ì¤¾¤ì¤Ë¤Ä¤¤¤Æ½èÍý¤ò¹Ô ¤¦¡£¤³¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤¬´û¤Ë¥Þ¥Í¡¼¥¸²ò½ü¤µ¤ì¤Æ¤¤¤ë¤«ÇË´þ¤µ¤ì¤è¤¦¤È¤·¤Æ ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤ì¤Ï̵»ë¤µ¤ì¤ë¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¥Þ¥Í¡¼¥¸²ò½ü¤Î¥Þ¡¼ ¥¯¤¬ÉÕ¤±¤é¤ì¡¢¤µ¤é¤Ë¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¥¢¥ó¥Þ¥Ã¥×¤µ¤ì¤ÆÉÔ²Ä»ë ¤Ë¤µ¤ì¤ë¡£
- post_unmanage_pre_manage_hook ¼ê³¤¤¬ NULL ¤Ç¤Ê¤¤¾ì¹ç¡¢¤³¤Î¼ê³ ¤¤¬»ØÄꤵ¤ì¤¿¤è¤¦¤Ë¸Æ¤Ó½Ð¤µ¤ì¤ë¡£
- manage_children ¥ê¥¹¥È¤Î»Ò¥¦¥£¥¸¥§¥Ã¥È¤½¤ì¤¾¤ì¤ËÂФ·¤Æ½èÍý¤ò¹Ô¤¦¡£ »Ò¥¦¥£¥¸¥§¥Ã¥È¤¬´û¤Ë¥Þ¥Í¡¼¥¸¤µ¤ì¤Æ¤¤¤ë¤«¡¢ÇË´þ¤µ¤ì¤è¤¦¤È¤·¤Æ¤¤¤ë¾ì¹ç¤Ë ¤Ï¡¢¤³¤ì¤Ï̵»ë¤µ¤ì¤ë¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¥Þ¥Í¡¼¥¸¤µ¤ì¤ë¤â¤Î¤È¤·¤Æ¥Þ¡¼ ¥¯¤¬ÉÕ¤±¤é¤ì¤ë¡£
- •
- ¿Æ¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤ª¤ê¡¢»Ò¥¦¥£¥¸¥§¥Ã¥ÈÁ´¤Æ¤Ë¥Þ¡¼¥¯¤¬ÉÕ¤± ¤é¤ì¤¿¸å¤Ê¤é¤Ð¡¢¤Þ¤º¿Æ¥¦¥£¥¸¥§¥Ã¥È¤Î change_managed ¼ê³¤¤¬¸Æ¤Ð¤ì¡¢Â³ ¤¤¤Æ°Ê²¼¤Î½èÍý¤¬¹Ô¤ï¤ì¤ë¤³¤È¤Ç¡¢¿·¤·¤¯¥Þ¥Í¡¼¥¸¤µ¤ì¤¿»Ò¥¦¥£¥¸¥§¥Ã¥È¤Î°ì Éô¤¬²Ä»ë¾õÂ֤ˤʤë:
- °ÊÁ°¤Ë¥Þ¥Í¡¼¥¸²ò½ü¤µ¤ì¤¿»Ò¥¦¥£¥¸¥§¥Ã¥È¤Ç¡¢¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤Ê¤¤¤â¤Î¤Î ¤½¤ì¤¾¤ì¤ËÂФ·¤Æ XtRealizeWidget ¤ò¸Æ¤Ö¡£
- °ÊÁ°¤Ë¥Þ¥Í¡¼¥¸²ò½ü¤µ¤ì¤¿»Ò¥¦¥£¥¸¥§¥Ã¥È¤Ç¡¢map_when_managed ¤¬ True ¤Ç¤¢¤ë¤â¤Î¤ò¤½¤ì¤¾¤ì¥Þ¥Ã¥×¤¹¤ë¡£
´Ø¿ô XtIsManaged ¤Ï¡¢ »ØÄꤵ¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤¬¥¯¥é¥¹ RectObj ¤«¤½¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤¢¤ê¡¢¤«¤Ä¥Þ ¥Í¡¼¥¸¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë True ¤òÊÖ¤·¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï False ¤òÊÖ¤¹¡£
´ØÏ¢¹àÌܶ
XtMapWidget(3Xt), XtRealizeWidget(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
Release 6.5 | X Version 11 |