Scroll to navigation

XtConfigureWidget(3Xt) XT FUNCTIONS XtConfigureWidget(3Xt)

̾Á°

XtConfigureWidget, XtMoveWidget, XtResizeWidget - ¥¦¥£¥¸¥§¥Ã¥È¤ò°ÜÆ°¡¦¥ê¥µ¥¤¥º¤¹¤ë

½ñ¼°

void XtConfigureWidget(w, x, y, width, height, border_width)
Widget w;
Position x;
Position y;
Dimension width;
Dimension height;
Dimension border_width;

void XtMoveWidget(w, x, y)
Widget w;
Position x;
Position y;

void XtResizeWidget(w, width, height, border_width)
Widget w;
Dimension width;
Dimension height;
Dimension border_width;

void XtResizeWindow(w)
Widget w;

°ú¤­¿ô



¥¦¥£¥¸¥§¥Ã¥È¤Î¿·¤·¤¤¥µ¥¤¥º¤ò»ØÄꤹ¤ë¡£
¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£

¥¦¥£¥¸¥§¥Ã¥È¤Î¿·¤·¤¤°ÌÃÖ (x y ºÂɸ) ¤ò»ØÄꤹ¤ë¡£

ÀâÌÀ

»ØÄꤵ¤ì¤¿¿ôÃͤ¬¸½ºß¤ÎÃͤÈƱ¤¸¾ì¹ç¡¢ XtConfigureWidget ´Ø¿ô¤Ï¤¹¤°¤ËÌá¤ë¡£ °Û¤Ê¤ë¾ì¹ç¡¢ XtConfigureWidget ¤Ï¡¢¿·¤·¤¤ x¡¢y¡¢width¡¢height¡¢border_width ¤ÎÃͤò¥¦¥£¥¸¥§¥Ã¥È¤Ë½ñ¤­ ¹þ¤à¡£¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤½¤Î¥¦¥£¥¸¥§¥Ã¥È¤Î¥¦¥£¥ó¥É¥¦ ¤ËÂФ·¤Æ Xlib ¤Î XConfigureWindow ¤ò¸Æ¤Ó½Ð¤¹¡£

¿·¤·¤¤ width Ëô¤Ï height ¤¬¸½ºß¤ÎÃͤȰۤʤë¾ì¹ç¡¢ XtConfigureWidget ¤Ï¥µ¥¤¥ºÊѹ¹¤òÄÌÃΤ¹¤ë¤¿¤á¤Ë¥ê¥µ¥¤¥º¤Î¼ê³¤­¤ò¸Æ¤Ö¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¤¹ ¤°¤ËÌá¤ë¡£

XtMoveWidget ´Ø¿ô¤Ï»ØÄꤵ¤ì¤¿¿ôÃͤ¬¸½ºß¤ÎÃͤÈƱ¤¸¾ì¹ç¡¢²¿¤â¤»¤º¤ËÌá¤ë¡£°Û¤Ê¤ë¾ì¹ç¡¢ XtMoveWidget ¤Ï¥¦¥£¥¸¥§¥Ã¥È¤Ë¿·¤·¤¤ x¡¢y Ãͤò½ñ¤­¤³¤à¡£¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤ì ¤Ð¡¢¥¦¥£¥¸¥§¥Ã¥È¤Î¥¦¥£¥ó¥É¥¦¤ËÂФ·¤Æ Xlib ¤Î XMoveWindow ¤ò¸Æ¤Ó½Ð¤¹¡£

XtResizeWidget ´Ø¿ô¤Ï»ØÄꤵ¤ì¤¿¿ôÃͤ¬¸½ºß¤ÎÃͤÈƱ¤¸¾ì¹ç¡¢²¿¤â¤»¤º¤ËÌá¤ë¡£ ¤³¤ì¤¬°Û¤Ê¤ë¾ì¹ç¡¢ XtResizeWidget ¤Ï¿·¤·¤¤ width¡¢height¡¢border_width ¤ÎÃͤò¥¦¥£¥¸¥§¥Ã¥È¤Ë½ñ¤­¹þ¤à¡£¤µ ¤é¤Ë¥¦¥£¥¸¥§¥Ã¥È¤¬¥ê¥¢¥é¥¤¥º¤µ¤ì¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢¥¦¥£¥¸¥§¥Ã¥È¤Î¥¦¥£¥ó¥É¥¦¤Ç XConfigureWindow ¤ò¸Æ¤Ó½Ð¤¹¡£

¿·¤·¤¤ width¡¢height ¤¬¸½ºß¤ÎÃͤȰۤʤë¾ì¹ç¡¢ XtResizeWidget ¤Ï¡¢¥µ¥¤¥º¤ÎÊѹ¹¤òÄÌÃΤ¹¤ë¤¿¤á¤Ë¥¦¥£¥¸¥§¥Ã¥È¤Î¥ê¥µ¥¤¥º¤Î¼ê³¤­¤ò¸Æ¤Ö¡£

XtResizeWindow ´Ø¿ô¤Ï¡¢Éý¡¢¹â¤µ¡¢ÏȤÎÉý¤ò»ØÄꤵ¤ì¤¿¥¦¥£¥¸¥§¥Ã¥È¤Î¥¦¥£¥ó¥É¥¦¤Ë¹ç¤ï¤»¤ë ¤¿¤á¤Ë¡¢ Xlib ¤Î´Ø¿ô¤Ç¤¢¤ë XConfigureWindow¤ò¸Æ¤Ö¡£ ¤³¤Î¿·¤·¤¤Ãͤ¬¸½ºß¤ÎÃͤÈƱ°ì¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ëÊýË¡¤¬¤Ê¤¤¤¿¤á¡¢¤³¤ÎÆ°ºî ¤Ï̵¾ò·ï¤Ë¼Â¹Ô¤µ¤ì¤ë¡£¥¦¥£¥¸¥§¥Ã¥È¤Î¥ê¥µ¥¤¥º¼ê³¤­¤Ï¸Æ¤Ð¤ì¤Ê¤¤¤³¤È¤ËÃí °Õ¤¹¤ë¤³¤È¡£

XtResizeWindow ¤ò»È¤¦¼ê´Ö¤¬Àˤ·¤¤¤Î¤Ê¤é¤Ð¡¢Âå¤ê¤Ë XtResizeWidget ¤ò»È¤¦¤Ù¤­¤Ç¤¢¤ë¡£

´ØÏ¢¹àÌÜ

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

Release 6.5 X Version 11