Scroll to navigation

XSaveContext(3X11) XLIB FUNCTIONS XSaveContext(3X11)

̾??

XSaveContext, XFindContext, XDeleteContext, XUniqueContext - Ϣ?۸????롼????

????

int XSaveContext(display, rid, context, data)
Display *display;
XID rid;
XContext context;
XPointer data;

int XFindContext(display, rid, context, data_return)
Display *display;
XID rid;
XContext context;
XPointer *data_return;

int XDeleteContext(display, rid, context)
Display *display;
XID rid;
XContext context;

XContext XUniqueContext()

??????

?ǡ?????°???륳???ƥ????ȷ??????ꤹ?롣
???????ɥ??ȷ??˴?Ϣ?Ť????????ǡ????????ꤹ?롣
?ǡ??????֤????롣
X ?????Фؤ???³?????ꤹ?롣
?ǡ???????Ϣ?Ť????????꥽????ID?????ꤹ?롣

????

???ꤷ???꥽????ID?ȷ????Ф??륨???ȥ꡼??????¸?ߤ??????硢 XSaveContext ?ϻ??ꤷ???????ƥ????ȤǤ??Υ????ȥ꡼?????񤭤??롣 ?ؿ? XSaveContext ?ϥ??顼?????????????ˤ? 0 ?Ǥʤ????顼?????ɤ??֤????????Ǥʤ????? 0 ???֤??? ????????ǽ???????륨?顼?? XCNOMEM (????????­)?Ǥ??롣

???????֤??ͤǤ????Τǡ??ǡ????ϥݥ??󥿤Ǥ??롣 ?ؿ? XFindContext ?ϥ??顼?????????????ˤ? 0 ?Ǥʤ????顼?????ɤ??֤????????Ǥʤ????? 0 ???֤??? ????????ǽ???????륨?顼?? XCNOENT (?????ƥ????Ȥ????Ĥ????ʤ?)?Ǥ??롣

?ؿ? XDeleteContext ?ϡ?Ϳ?????줿?꥽????ID?ȷ????Ф??륨???ȥ꡼????¤?Τ??????????롣 ???δؿ??ϡ? XFindContext ??Ʊ??????????Ϳ?????줿???硢Ʊ?????顼?????ɤ??֤??? XDeleteContext ?ϥ??ɥ쥹????¸?????Ƥ????ǡ????β????ϹԤ??ʤ???

?ؿ? XUniqueContext ?ϡ????ǸƤӽФ? XSaveContext ?ǻȤ????褦?ʡ????ˡ????ʥ????ƥ????ȷ??????????롣

??Ϣ????

Xlib - C Language X Interface

Release 6.5 X Version 11