📄 intrinsic.h
字号:
);extern Boolean XtPeekEvent( /* obsolete */#if NeedFunctionPrototypes XEvent* /* event_return */#endif);extern Boolean XtAppPeekEvent(#if NeedFunctionPrototypes XtAppContext /* app_context */, XEvent* /* event_return */#endif);extern Boolean XtIsSubclass(#if NeedFunctionPrototypes Widget /* widget */, WidgetClass /* widgetClass */#endif);extern Boolean XtIsObject(#if NeedFunctionPrototypes Widget /* object */#endif);extern Boolean _XtCheckSubclassFlag( /* implementation-private */#if NeedFunctionPrototypes Widget /* object */, _XtXtEnum /* type_flag */#endif);extern Boolean _XtIsSubclassOf( /* implementation-private */#if NeedFunctionPrototypes Widget /* object */, WidgetClass /* widget_class */, WidgetClass /* flag_class */, _XtXtEnum /* type_flag */#endif);extern Boolean XtIsManaged(#if NeedFunctionPrototypes Widget /* rectobj */#endif);extern Boolean XtIsRealized(#if NeedFunctionPrototypes Widget /* widget */#endif);extern Boolean XtIsSensitive(#if NeedFunctionPrototypes Widget /* widget */#endif);extern Boolean XtOwnSelection(#if NeedFunctionPrototypes Widget /* widget */, Atom /* selection */, Time /* time */, XtConvertSelectionProc /* convert */, XtLoseSelectionProc /* lose */, XtSelectionDoneProc /* done */#endif);extern Boolean XtOwnSelectionIncremental(#if NeedFunctionPrototypes Widget /* widget */, Atom /* selection */, Time /* time */, XtConvertSelectionIncrProc /* convert_callback */, XtLoseSelectionIncrProc /* lose_callback */, XtSelectionDoneIncrProc /* done_callback */, XtCancelConvertSelectionProc /* cancel_callback */, XtPointer /* client_data */#endif);extern XtGeometryResult XtMakeResizeRequest(#if NeedFunctionPrototypes Widget /* widget */, _XtDimension /* width */, _XtDimension /* height */, Dimension* /* width_return */, Dimension* /* height_return */#endif);extern void XtTranslateCoords(#if NeedFunctionPrototypes Widget /* widget */, _XtPosition /* x */, _XtPosition /* y */, Position* /* rootx_return */, Position* /* rooty_return */#endif);extern KeySym* XtGetKeysymTable(#if NeedFunctionPrototypes Display* /* dpy */, KeyCode* /* min_keycode_return */, int* /* keysyms_per_keycode_return */#endif);extern void XtKeysymToKeycodeList(#if NeedFunctionPrototypes Display* /* dpy */, KeySym /* keysym */, KeyCode** /* keycodes_return */, Cardinal* /* keycount_return */#endif);extern void XtStringConversionWarning( /* obsolete */#if NeedFunctionPrototypes _Xconst _XtString /* from_value */, _Xconst _XtString /* to_type */#endif);extern void XtDisplayStringConversionWarning(#if NeedFunctionPrototypes Display* /* dpy */, _Xconst _XtString /* from_value */, _Xconst _XtString /* to_type */#endif);#if __STDC__externalref XtConvertArgRec const colorConvertArgs[];externalref XtConvertArgRec const screenConvertArg[];#elseexternalref XtConvertArgRec colorConvertArgs[];externalref XtConvertArgRec screenConvertArg[];#endifextern void XtAppAddConverter( /* obsolete */#if NeedFunctionPrototypes XtAppContext /* app_context */, _Xconst _XtString /* from_type */, _Xconst _XtString /* to_type */, XtConverter /* converter */, XtConvertArgList /* convert_args */, Cardinal /* num_args */#endif);extern void XtAddConverter( /* obsolete */#if NeedFunctionPrototypes _Xconst _XtString /* from_type */, _Xconst _XtString /* to_type */, XtConverter /* converter */, XtConvertArgList /* convert_args */, Cardinal /* num_args */#endif);extern void XtSetTypeConverter(#if NeedFunctionPrototypes _Xconst _XtString /* from_type */, _Xconst _XtString /* to_type */, XtTypeConverter /* converter */, XtConvertArgList /* convert_args */, Cardinal /* num_args */, XtCacheType /* cache_type */, XtDestructor /* destructor */#endif);extern void XtAppSetTypeConverter(#if NeedFunctionPrototypes XtAppContext /* app_context */, _Xconst _XtString /* from_type */, _Xconst _XtString /* to_type */, XtTypeConverter /* converter */, XtConvertArgList /* convert_args */, Cardinal /* num_args */, XtCacheType /* cache_type */, XtDestructor /* destructor */#endif);extern void XtConvert( /* obsolete */#if NeedFunctionPrototypes Widget /* widget */, _Xconst _XtString /* from_type */, XrmValue* /* from */, _Xconst _XtString /* to_type */, XrmValue* /* to_return */#endif);extern void XtDirectConvert( /* obsolete */#if NeedFunctionPrototypes XtConverter /* converter */, XrmValuePtr /* args */, Cardinal /* num_args */, XrmValuePtr /* from */, XrmValue* /* to_return */#endif);/**************************************************************** * * Translation Management * ****************************************************************/extern XtTranslations XtParseTranslationTable(#if NeedFunctionPrototypes _Xconst _XtString /* table */#endif);extern XtAccelerators XtParseAcceleratorTable(#if NeedFunctionPrototypes _Xconst _XtString /* source */#endif);extern void XtOverrideTranslations(#if NeedFunctionPrototypes Widget /* widget */, XtTranslations /* translations */#endif);extern void XtAugmentTranslations(#if NeedFunctionPrototypes Widget /* widget */, XtTranslations /* translations */#endif);extern void XtInstallAccelerators(#if NeedFunctionPrototypes Widget /* destination */, Widget /* source */#endif);extern void XtInstallAllAccelerators(#if NeedFunctionPrototypes Widget /* destination */, Widget /* source */#endif);extern void XtUninstallTranslations(#if NeedFunctionPrototypes Widget /* widget */#endif);extern void XtAppAddActions(#if NeedFunctionPrototypes XtAppContext /* app_context */, XtActionList /* actions */, Cardinal /* num_actions */#endif);extern void XtAddActions( /* obsolete */#if NeedFunctionPrototypes XtActionList /* actions */, Cardinal /* num_actions */#endif);extern XtActionHookId XtAppAddActionHook(#if NeedFunctionPrototypes XtAppContext /* app_context */, XtActionHookProc /* proc */, XtPointer /* client_data */#endif);extern void XtRemoveActionHook(#if NeedFunctionPrototypes XtActionHookId /* id */#endif);extern void XtGetActionList(#if NeedFunctionPrototypes WidgetClass /* widget_class */, XtActionList* /* actions_return */, Cardinal* /* num_actions_return */#endif);extern void XtCallActionProc(#if NeedFunctionPrototypes Widget /* widget */, _Xconst _XtString /* action */, XEvent* /* event */, String* /* params */, Cardinal /* num_params */#endif);extern void XtRegisterGrabAction(#if NeedFunctionPrototypes XtActionProc /* action_proc */, _XtBoolean /* owner_events */, unsigned int /* event_mask */, int /* pointer_mode */, int /* keyboard_mode */#endif);extern void XtSetMultiClickTime(#if NeedFunctionPrototypes Display* /* dpy */, int /* milliseconds */#endif);extern int XtGetMultiClickTime(#if NeedFunctionPrototypes Display* /* dpy */#endif);extern KeySym XtGetActionKeysym(#if NeedFunctionPrototypes XEvent* /* event */, Modifiers* /* modifiers_return */#endif);/*************************************************************** * * Keycode and Keysym procedures for translation management * ****************************************************************/extern void XtTranslateKeycode(#if NeedFunctionPrototypes Display* /* dpy */, _XtKeyCode /* keycode */, Modifiers /* modifiers */, Modifiers* /* modifiers_return */, KeySym* /* keysym_return */#endif);extern void XtTranslateKey(#if NeedFunctionPrototypes Display* /* dpy */, _XtKeyCode /* keycode */, Modifiers /* modifiers */, Modifiers* /* modifiers_return */, KeySym* /* keysym_return */#endif);extern void XtSetKeyTranslator(#if NeedFunctionPrototypes Display* /* dpy */, XtKeyProc /* proc */#endif);extern void XtRegisterCaseConverter(#if NeedFunctionPrototypes Display* /* dpy */, XtCaseProc /* proc */, KeySym /* start */, KeySym /* stop */#endif);extern void XtConvertCase(#if NeedFunctionPrototypes Display* /* dpy */, KeySym /* keysym */, KeySym* /* lower_return */, KeySym* /* upper_return */#endif);/**************************************************************** * * Event Management * ****************************************************************//* XtAllEvents is valid only for XtRemoveEventHandler and * XtRemoveRawEventHandler; don't use it to select events! */#define XtAllEvents ((EventMask) -1L)extern void XtAddEventHandler(#if NeedFunctionPrototypes Widget /* widget */, EventMask /* event_mask */, _XtBoolean /* nonmaskable */, XtEventHandler /* proc */, XtPointer /* closure */#endif);extern void XtRemoveEventHandler(#if NeedFunctionPrototypes Widget /* widget */, EventMask /* event_mask */, _XtBoolean /* nonmaskable */, XtEventHandler /* proc */, XtPointer /* closure */#endif);extern void XtAddRawEventHandler(#if NeedFunctionPrototypes Widget /* widget */, EventMask /* event_mask */, _XtBoolean /* nonmaskable */, XtEventHandler /* proc */, XtPointer /* closure */#endif);extern void XtRemoveRawEventHandler(#if NeedFunctionPrototypes Widget /* widget */, EventMask /* event_mask */, _XtBoolean /* nonmaskable */, XtEventHandler /* proc */, XtPointer /* closure */#endif);extern void XtInsertEventHandler(#if NeedFunctionPrototypes Widget /* widget */, EventMask /* event_mask */, _XtBoolean /* nonmaskable */, XtEventHandler /* proc */, XtPointer /* closure */, XtListPosition /* position */#endif);extern void XtInsertRawEventHandler(#if NeedFunctionPrototypes Widget /* widget */, EventMask /* event_mask */, _XtBoolean /* nonmaskable */, XtEventHandler /* proc */, XtPointer /* closure */, XtListPosition /* position */#endif);extern EventMask XtBuildEventMask(#if NeedFunctionPrototypes Widget /* widget */#endif);extern void XtAddGrab(#if NeedFunctionPrototypes Widget /* widget */, _XtBoolean /* exclusive */, _XtBoolean /* spring_loaded */#endif);extern void XtRemoveGrab(#if NeedFunctionPrototypes Widget /* widget */#endif);extern void XtProcessEvent( /* obsolete */#if NeedFunctionPrototypes XtInputMask /* mask */#endif);extern void XtAppProcessEvent(#if NeedFunctionPrototypes XtAppContext /* app_context */, XtInputMask /* mask */#endif);extern void XtMainLoop( /* obsolete */#if NeedFunctionPrototypes void#endif);extern void XtAppMainLoop(#if NeedFunctionPrototypes XtAppContext /* app_context */#endif);extern void XtAddExposureToRegion(#if NeedFunctionPrototypes XEvent* /* event */, Region /* region */#endif);extern void XtSetKeyboardFocus(#if NeedFunctionPrototypes Widget /* subtree */, Widget /* descendent */#endif);extern Time XtLastTimestampProcessed(#if NeedFunctionPrototypes Display* /* dpy */#endif);/**************************************************************** * * Event Gathering Routines * ****************************************************************/extern XtIntervalId XtAddTimeOut( /* obsolete */#if NeedFunctionPrototypes unsigned long /* interval */, XtTimerCallbackProc /* proc */, XtPointer /* closure */#endif);extern XtIntervalId XtAppAddTimeOut(#if NeedFunctionPrototypes XtAppContext /* app_context */, unsigned long /* interval */, XtTimerCallbackProc /* proc */, XtPointer /* closure */#endif);extern void XtRemoveTimeOut(#if NeedFunctionPrototypes XtIntervalId /* timer */#endif);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -