📄 intrinsic.h
字号:
#if NeedFunctionPrototypes Widget /* widget */, Widget* /* list */, Cardinal /* count */#endif);extern String XtFindFile(#if NeedFunctionPrototypes _Xconst _XtString /* path */, Substitution /* substitutions */, Cardinal /* num_substitutions */, XtFilePredicate /* predicate */#endif);extern String XtResolvePathname(#if NeedFunctionPrototypes Display* /* dpy */, _Xconst _XtString /* type */, _Xconst _XtString /* filename */, _Xconst _XtString /* suffix */, _Xconst _XtString /* path */, Substitution /* substitutions */, Cardinal /* num_substitutions */, XtFilePredicate /* predicate */#endif);/**************************************************************** * * Selections * *****************************************************************/#define XT_CONVERT_FAIL (Atom)0x80000001 extern void XtDisownSelection(#if NeedFunctionPrototypes Widget /* widget */, Atom /* selection */, Time /* time */#endif);extern void XtGetSelectionValue(#if NeedFunctionPrototypes Widget /* widget */, Atom /* selection */, Atom /* target */, XtSelectionCallbackProc /* callback */, XtPointer /* closure */, Time /* time */#endif);extern void XtGetSelectionValues(#if NeedFunctionPrototypes Widget /* widget */, Atom /* selection */, Atom* /* targets */, int /* count */, XtSelectionCallbackProc /* callback */, XtPointer* /* closures */, Time /* time */#endif);extern void XtAppSetSelectionTimeout(#if NeedFunctionPrototypes XtAppContext /* app_context */, unsigned long /* timeout */#endif);extern void XtSetSelectionTimeout( /* obsolete */#if NeedFunctionPrototypes unsigned long /* timeout */#endif);extern unsigned long XtAppGetSelectionTimeout(#if NeedFunctionPrototypes XtAppContext /* app_context */#endif);extern unsigned long XtGetSelectionTimeout( /* obsolete */#if NeedFunctionPrototypes void#endif);extern XSelectionRequestEvent *XtGetSelectionRequest(#if NeedFunctionPrototypes Widget /* widget */, Atom /* selection */, XtRequestId /* request_id */#endif);extern void XtGetSelectionValueIncremental(#if NeedFunctionPrototypes Widget /* widget */, Atom /* selection */, Atom /* target */, XtSelectionCallbackProc /* selection_callback */, XtPointer /* client_data */, Time /* time */#endif);extern void XtGetSelectionValuesIncremental(#if NeedFunctionPrototypes Widget /* widget */, Atom /* selection */, Atom* /* targets */, int /* count */, XtSelectionCallbackProc /* callback */, XtPointer* /* client_data */, Time /* time */#endif);extern void XtGrabKey(#if NeedFunctionPrototypes Widget /* widget */, _XtKeyCode /* keycode */, Modifiers /* modifiers */, _XtBoolean /* owner_events */, int /* pointer_mode */, int /* keyboard_mode */#endif);extern void XtUngrabKey(#if NeedFunctionPrototypes Widget /* widget */, _XtKeyCode /* keycode */, Modifiers /* modifiers */#endif);extern int XtGrabKeyboard(#if NeedFunctionPrototypes Widget /* widget */, _XtBoolean /* owner_events */, int /* pointer_mode */, int /* keyboard_mode */, Time /* time */#endif);extern void XtUngrabKeyboard(#if NeedFunctionPrototypes Widget /* widget */, Time /* time */#endif);extern void XtGrabButton(#if NeedFunctionPrototypes Widget /* widget */, int /* button */, Modifiers /* modifiers */, _XtBoolean /* owner_events */, unsigned int /* event_mask */, int /* pointer_mode */, int /* keyboard_mode */, Window /* confine_to */, Cursor /* cursor */#endif);extern void XtUngrabButton(#if NeedFunctionPrototypes Widget /* widget */, unsigned int /* button */, Modifiers /* modifiers */#endif);extern int XtGrabPointer(#if NeedFunctionPrototypes Widget /* widget */, _XtBoolean /* owner_events */, unsigned int /* event_mask */, int /* pointer_mode */, int /* keyboard_mode */, Window /* confine_to */, Cursor /* cursor */, Time /* time */#endif);extern void XtUngrabPointer(#if NeedFunctionPrototypes Widget /* widget */, Time /* time */#endif);extern void XtGetApplicationNameAndClass(#if NeedFunctionPrototypes Display* /* dpy */, String* /* name_return */, String* /* class_return */#endif);/* * Predefined Resource Converters *//* String converters */extern Boolean XtCvtStringToAcceleratorTable(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToAtom(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* Display */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToBoolean(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToBool(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToCursor(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* Display */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToDimension(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToDisplay(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToFile(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToFloat(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToFont(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* Display */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToFontSet(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* Display, locale */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToFontStruct(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* Display */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToInt(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToInitialState(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToPixel(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* Screen, Colormap */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);#define XtCvtStringToPosition XtCvtStringToShortextern Boolean XtCvtStringToShort(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToTranslationTable(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToUnsignedChar(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtStringToVisual(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* Screen, depth */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);/* int converters */extern Boolean XtCvtIntToBoolean(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtIntToBool(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtIntToColor(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* Screen, Colormap */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);#define XtCvtIntToDimension XtCvtIntToShortextern Boolean XtCvtIntToFloat(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtIntToFont(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtIntToPixel(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtIntToPixmap(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);#define XtCvtIntToPosition XtCvtIntToShortextern Boolean XtCvtIntToShort(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);extern Boolean XtCvtIntToUnsignedChar(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);/* Color converter */extern Boolean XtCvtColorToPixel(#if NeedFunctionPrototypes Display* /* dpy */, XrmValuePtr /* args */, /* none */ Cardinal* /* num_args */, XrmValuePtr /* fromVal */, XrmValuePtr /* toVal */, XtPointer* /* closure_ret */#endif);/* Pixel converter */#define XtCvtPixelToColor XtCvtIntToColor_XFUNCPROTOEND#endif /*_XtIntrinsic_h*//* DON'T ADD STUFF AFTER THIS #endif */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -