Scroll to navigation

XtGetGC(3Xt) XT FUNCTIONS XtGetGC(3Xt)

̾Á°

XtGetGC, XtReleaseGC - ¶¦Í­ GC ¤ò¼èÆÀ¡¦ÇË´þ¤¹¤ë

½ñ¼°

GC XtGetGC(w, value_mask, values)
Widget w;
XtGCMask value_mask;
XGCValues *values;

void XtReleaseGC(w, gc)
Widget w;
GC gc;

°ú¤­¿ô

³äÅö¤Æ¤ò²òÊü¤¹¤ë GC ¤ò»ØÄꤹ¤ë¡£
¤³¤Î GC ¤Î¼ÂºÝ¤ÎÃͤò»ØÄꤹ¤ë¡£
»ØÄꤵ¤ì¤¿ values ¤Î¥Õ¥£¡¼¥ë¥É¤ò»ØÄꤹ¤ë¡£
¥¦¥£¥¸¥§¥Ã¥È¤ò»ØÄꤹ¤ë¡£

ÀâÌÀ

XtGetGC ´Ø¿ô¤Ï¶¦Í­¤Ç¤­¤ëÆɤ߹þ¤ßÀìÍѤΠGC ¤òÊÖ¤¹¡£ ¤³¤Î´Ø¿ô¤ØÅϤ¹¥Ñ¥é¥á¡¼¥¿¤Ï¡¢ XCreateGC ´Ø¿ô¤Î¤â¤Î¤ÈƱ¤¸¤Ç¤¢¤ë¡£¤¿¤À¤·¡¢¥Ç¥£¥¹¥×¥ì¥¤¤ÎÂå¤ï¤ê¤Ë¥¦¥£¥¸¥§¥Ã¥È¤¬ÅÏ ¤µ¤ì¤ë¡£ XtGetGC ¤Ï¡¢ XCreateGC ¤«¤éÊÖ¤µ¤ì¤ë GC ÆâÉô¤ÎÁ´¤Æ¤ÎÃͤ¬Åù¤·¤¤¾ì¹ç¤Ë¸Â¤Ã¤Æ¡¢¤½¤ì¤é¤Î GC ¤ò¶¦Í­ ¤¹¤ë¡£ ¥¦¥£¥¸¥§¥Ã¥È¤¬ GC ¤Î¤É¤Î¥Õ¥£¡¼¥ë¥É¤Ë´ØÏ¢¤¹¤ë¤«¤ò·èÄꤹ¤ëÌÜŪ¤Ë¤Ï¡¢Í¿¤¨ ¤é¤ì¤¿ value_mask ¤ò XtGetGC ¤Ï»ÈÍѤ·¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£ ¥¦¥£¥¸¥§¥Ã¥È¥Ç¡¼¥¿¤ÇËþ¤¿¤µ¤ì¤ë¤Ù¤­¥Õ¥£¡¼¥ë¥É¡¢¥Ç¥Õ¥©¥ë¥ÈÃͤÇËþ¤¿¤µ¤ì¤ë ¤Ù¤­¥Õ¥£¡¼¥ë¥É¤Î¶èÊ̤ò¥µ¡¼¥Ð¤ËÃΤ餻¤ë¤¿¤á¤À¤±¤Ë¡¢value_mask ¤Ï»ÈÍѤµ ¤ì¤ë¡£ value_mask ¤È values ¤Ë´Ø¤¹¤ë¤è¤ê¾ÜºÙ¤Ê¾ðÊó¤Ï Xlib - C ¸À¸ì X ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹ ¤Î XCreateGC ¤ò»²¾È¤¹¤ë¤³¤È¡£

XtReleaseGC ´Ø¿ô¤Ï»ØÄꤵ¤ì¤¿¶¦Í­ GC ¤Î³ä¤êÅö¤Æ¤ò²òÊü¤¹¤ë¡£

´ØÏ¢¹àÌÜ

X ¥Ä¡¼¥ë¥­¥Ã¥È ¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹ - C ¸À¸ì¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹
Xlib - C ¸À¸ì X ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹

Release 6.5 X Version 11