XtOwnSelection(3Xt) | XT FUNCTIONS | XtOwnSelection(3Xt) |
̾??¶
XtOwnSelection, XtOwnSelectionIncremental, XtDisownSelection - ???쥯???????ν?ͭ?Ԥ????ꤹ??
????¶
Boolean XtOwnSelection(w, selection, time,
convert_proc, lose_selection, done_proc)
Widget w;
Atom selection;
Time time;
XtConvertSelectionProc convert_proc;
XtLoseSelectionProc lose_selection;
XtSelectionDoneProc done_proc;
Boolean XtOwnSelectionIncremental(w, selection,
time, convert_callback, lose_callback,
done_callback, cancel_callback, client_data)
Widget w;
Atom selection;
Time time;
XtConvertSelectionIncrProc convert_callback;
XtLoseSelectionIncrProc lose_callback;
XtSelectionDoneIncrProc done_callback;
XtCancelConvertSelectionProc cancel_callback;
XtPointer client_data;
void XtDisownSelection(w, selection, time)
Widget w;
Atom selection;
Time time;
??????¶
- convert_proc
- ???쥯???????θ????ͤ??ᤵ?줿?Ȥ??˸ƤӽФ???????³???????ꤹ?롣
- done_proc
- ?ꥯ???????????쥯???????????????ä????˸ƤӽФ???????³???????ꤹ?롣 ??ͭ?Ԥ????????Хå???ɬ?פȤ??ʤ??????ˤϡ?NULL ?????ꤹ?롣
- lose_selection
- ?????????åȤ????쥯???????ν?ͭ?ä??Ȥ??˸ƤӽФ???????³???????ꤹ?롣 ??ͭ?Ԥ????????Хå???ɬ?פȤ??ʤ??????ˤϡ?NULL ?????ꤹ?롣
- selection
- ???쥯???????Υ????פ????ꤹ?륢?ȥ??????ꤹ??(?㤨?С? XA_PRIMARY, XA_SECONDARY, XA_CLIPBOARD ??)??
- time
- ???쥯???????ν?ͭ?Ϥ??????֡??ޤ??Ͻ?ͭ?????????????֤? ?????ॹ?????פ????ꤹ?롣
- w
- ??ͭ?ԤȤʤ륦???????åȤޤ??Ͻ?ͭ?????????륦???????åȤ????ꤹ?롣
????¶
?ؿ? XtOwnSelection ?ϡ??????????åȤ????쥯??????????ͭ???褦?Ȥ??Ƥ??뤳?Ȥ??ȥ????? ?????Υ??쥯?????????Τ餻?롣 ???δؿ??ϡ??????????åȤ????ޤ???ͭ?Ԥˤʤ줿?????ˤ? True ???֤????ʤ??ʤ??ä??????ˤ? False ???֤??? ???Υ????????åȤ????⾯??????¾?Υ????????åȤ????쥯???????ν?ͭ???? ?ᤷ?????硢?ǽ??Υ????????åȤϽ?ͭ?Ԥˤʤ??ʤ????Ȥ????롣 ?????????åȤ???ͭ???????礬2?Ĥ??뤳?Ȥ????դ??衣???Ĥϡ?¾?Υ??? ?????åȤ??夫?饦???????åȤν?ͭ????????????ǡ??⤦???Ĥϥ????????? ?Ȥ???ȯŪ?˥??쥯???????ν?ͭ?????????????????Ǥ??롣 ?ǽ??˥????????åȤ????쥯???????ν?ͭ???μ????˼??Ԥ??????硢 lose_selection ??³???ϸƤӽФ????ʤ????????ա?
XtOwnSelectionInrcremental ??³???ϡ????ꤷ???????????åȤ????쥯???????ν?ͭ???????Ƥ??뤳?Ȥ??? ???ȥ??????Υ??????륻?쥯?????????Τ餻?롣 ???δؿ??ϡ??????????åȤ????ޤ???ͭ?Ԥˤʤ줿?????ˤ? True ???֤????ʤ??ʤ??ä??????ˤ? False ???֤???selection, target, time ?˴ؤ????ܤ????????? ?Ĥ??Ƥϡ?Inter-Client Communication Conventions Manual ?? 2.6 ?ϤȤ??뤳?ȡ?
XtOwnSelectionIncremental ???Ȥäƥ??쥯???????ν?ͭ?ԤȤʤä??????????åȤϡ? XtDisownSelection ???Ȥäƥ??쥯???????ν?ͭ???????????뤳?Ȥ??Ǥ??롣
?ؿ? XtDisownSelection ?ϡ????ꤷ???????????åȤ????쥯???????ν?ͭ???????Ȥ????ȥ??? ???????Υ??쥯?????????Τ餻?롣???˥??쥯???????äƤ??뤫???? ?餫?饻?쥯??????????ͭ???Ƥ??ʤ??????ˤ??Υ????????åȤ????ߥ??쥯???? ??????ͭ???Ƥ??ʤ??????ˤϡ? XtDisownSelection ?ϲ??⤷?ʤ???
?????????åȤ? XtDisownSelection ???Ƥ??????ϡ????Υ????????åȤ????쥯??????????ͭ???Ƥ????֤Υ????ॹ ?????פ????ĥꥯ?????Ȥ????????夷???????Ǥ??äƤ⡢?????Ѵ???³???ϸ? ?Ф??ʤ??? ???????? XtDisownSelection ???Ƥ????˻Ϥޤä??Ѵ??? XtDisownSelection ???Ƥ??????˽????ä??????ϡ??????????åȤ? done ??³?????ƤФ??롣
??Ϣ????¶
XtAppGetSelectionTimeout(3Xt), XtGetSelectionValue(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
Release 6.5 | X Version 11 |