XSetScreenSaver(3X11) | XLIB FUNCTIONS | XSetScreenSaver(3X11) |
̾??¶
f XSetScreenSaver, XForceScreenSaver, XActivateScreenSaver, XResetScreenSaver, XGetScreenSaver - ????????Ф??????
????¶
XSetScreenSaver(display, timeout, interval,
prefer_blanking, allow_exposures)
Display *display;
int timeout, interval;
int prefer_blanking;
int allow_exposures;
XForceScreenSaver(display, mode)
Display *display;
int mode;
XActivateScreenSaver(display)
Display *display;
XResetScreenSaver(display)
Display *display;
XGetScreenSaver(display, timeout_return,
interval_return, prefer_blanking_return,
allow_exposures_return)
Display *display;
int *timeout_return, *interval_return;
int *prefer_blanking_return;
int *allow_exposures_return;
??????¶
- allow_exposures
- ????????Ф??????ͤ????ꤹ?롣 DontAllowExposures, AllowExposures, DefaultExposures ?Τ????줫???????Ǥ??롣
- allow_exposures_return
- ????????Фθ??ߤ??????ͤ??֤????? (DontAllowExposures, AllowExposures, DefaultExposures ?Τ????줫)??
- display
- X ?????Фؤ???³?????ꤹ?롣
- interval
- ????????????ؤ??δֳ֤??ÿ??ǻ??ꤹ?롣
- interval_return
- ????????Фε?ư?ޤǤδֳ֤??֤????롣
- mode
- Ŭ?Ѥ??????⡼?ɤ????ꤹ?롣 ScreenSaverActive ?ޤ??? ScreenSaverReset ???????Ǥ??롣
- prefer_blanking
- ????????Υ֥??λ????????ꤹ?롣 DontPreferBlanking, PreferBlanking, DefaultBlanking ?Τ????줫???????Ǥ??롣
- prefer_blanking_return
- ????????θ??ߤΥ֥??λ??????֤????? (DontPreferBlanking, PreferBlanking, DefaultBlanking ?Τ????줫)??
- timeout
- ????????Ф?ͭ???ˤʤ??ޤǤΥ????ॢ???Ȥ??ÿ??ǻ??ꤹ?롣
- timeout_return
- ????????Ф?ͭ???ˤʤ??ޤǤΥ????ॢ???Ȥ??ÿ????֤????롣
????¶
?????ॢ???Ȥȴֳ֤??ÿ??ǻ??ꤹ?롣 ?????ॢ???Ȥ? 0 ?ʤ??С?????????Ф?̵????????(???????? ?????ƥ??֤ˤʤäƤ??륹??????Фϲ????????ʤ?)???????ॢ???Ȥ? -1 ?? ???С??ǥե??????ͤ??????????롣 ?????ʳ????????ͤ????ꤹ???ȥ??顼 BadValue ?ˤʤ롣 ?????ॢ?????ͤ? 0 ?Ǥʤ????С? XSetScreenSaver ?ϥ???????Ф?ͭ???ˤ??롣 ?ֳ֤? 0 ?ʤ??С??????????ѥ?????ư?̵???ˤʤ롣 ???ꤵ?줿?????ॢ???Ȥ??ÿ??δ֥ǥХ???(?????ܡ??ɡ??ޥ?????)???????? ?Ϥ??ʤ????С?????????Ф??????ƥ??֤ˤʤ롣
?ƥ?????????Ф??ƥ֥??????ꤵ?졢?ϡ??ɥ????????ӥǥ?ɽ???? ?֥??ݡ??Ȥ??Ƥ??????硢?????????ñ?˥֥????롣 ?????Ǥʤ??????ǡ?Ϫ?Ф???ǽ?ʾ??礫??????????饤?????Ȥ? Expose ???٥??Ȥ????餺?˥??????ɽ???????????Ǥ????????ˤϡ?????????? ?롼?ȥ??????ɥ????طʥ????????????????롣???κݡ??????θ????? interval ?ä??Ȥ˥????????˷???ľ?????롣 ?????ʳ??ξ????ˤϥ???????ξ??֤??Ѳ???????????????Ф? ?????ƥ??֤ˤʤ??ʤ??? ?????ܡ??ɤ??ݥ??μ??????Ϥ????ä??Ȥ??????⡼?ɤ? ScreenSaverReset ?????ꤷ?Ƽ??? XForceScreenSaver ???ƤӽФ??????˥???????Фϲ??????졢????????????Ƥξ??֤? ?????????롣
?????а?¸?Υ???????ݸǽ????????Ū?ʲ??̽????ݡ??Ȥ??Ƥ? ?????硢?????? interval ?Ͻ?????????Ĺ???Υҥ??Ȥ?Ϳ???롣???Υҥ????? ?? 0 ?ξ????ϡ?????Ū?ʲ??̽????ƤϤʤ??ʤ????Ȥ??? ????????ν?????ˡ?????Ȥ??Ƥϡ????顼?ޥåפ??㺮???ˤ?????ˡ?? ???????????????Ū?˥???????μ????ǰ?ư????????ˡ????????? ???롼?ȥ??????ɥ????طʥ??????Ȥ???????Ū?˥????????˸??????Ѥ?????ˡ ???????롣
XSetScreenSaver ?ϥ??顼 BadValue ???????Ȥ????롣
???ꤷ???⡼?ɤ? ScreenSaverActive ?Ǥ??ꡢ???ĥ???????Ф????ߥ????ƥ??֤Ǥʤ??ʤ??С? XForceScreenSaver ?ϥ????ॢ?????ͤ?0?????ꤵ????̵???ˤʤäƤ??????????ޤ??ơ? ????????Ф??ƥ??֤ˤ??롣 ???ꤷ???⡼?ɤ? ScreenSaverReset ?Ǥ??ꡢ???ĥ???????Ф?????ͭ???ʤ??С? XForceScreenSaver ?ϡ?????????Ф??????ƥ??֤ˤʤäƤ????Х???????Ф?̵ ???ˤ????????ƥ??ֲ??Υ????ޡ???(?ǥХ????????????Ϥ????ä????Τ褦??) ???????֤˥ꥻ?åȤ??롣
XForceScreenSaver ?ϥ??顼 BadValue ???????Ȥ????롣
?ؿ? XActivateScreenSaver ?ϥ???????Ф??ƥ??֤ˤ??롣
?ؿ? XResetScreenSaver ?ϥ???????Ф??ꥻ?åȤ??롣
?ؿ? XGetScreenSaver ?ϡ????ߤΥ???????Ф??ͤ????????롣
?֤???¶
- BadValue
- ???ꤵ?줿???ͤˡ??ꥯ?????Ȥε????ϰϤ??ۤ??Ƥ??????Τ????롣?????????? ???????????ϰϤ????ꤵ???Ƥ??ʤ??¤ꡢ???????η????????????Ƥ??????Ƥ??? ?Ϥ????????롣???????Ȥ????????????Ƥ??????????Ϥ??Υ??顼???????Ȥ? ???롣
??Ϣ????¶
Xlib - C Language X Interface
Release 6.5 | X Version 11 |