⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intrinsic.h

📁 早期freebsd实现
💻 H
📖 第 1 页 / 共 5 页
字号:
extern XtInputId XtAddInput( /* obsolete */#if NeedFunctionPrototypes    int 		/* source */,    XtPointer 		/* condition */,    XtInputCallbackProc /* proc */,    XtPointer 		/* closure */#endif);extern XtInputId XtAppAddInput(#if NeedFunctionPrototypes    XtAppContext       	/* app_context */,    int 		/* source */,    XtPointer 		/* condition */,    XtInputCallbackProc /* proc */,    XtPointer 		/* closure */#endif);extern void XtRemoveInput(#if NeedFunctionPrototypes    XtInputId 		/* id */#endif);extern void XtNextEvent( /* obsolete */#if NeedFunctionPrototypes    XEvent* 		/* event */#endif);extern void XtAppNextEvent(#if NeedFunctionPrototypes    XtAppContext 	/* app_context */,    XEvent*		/* event_return */#endif);#define XtIMXEvent		1#define XtIMTimer		2#define XtIMAlternateInput	4#define XtIMAll (XtIMXEvent | XtIMTimer | XtIMAlternateInput)extern XtInputMask XtPending( /* obsolete */#if NeedFunctionPrototypes    void#endif);extern XtInputMask XtAppPending(#if NeedFunctionPrototypes    XtAppContext 	/* app_context */#endif);/**************************************************************** * * Random utility routines * ****************************************************************/#define XtIsRectObj(object)	(_XtCheckSubclassFlag(object, (XtEnum)0x02))#define XtIsWidget(object)	(_XtCheckSubclassFlag(object, (XtEnum)0x04))#define XtIsComposite(widget)	(_XtCheckSubclassFlag(widget, (XtEnum)0x08))#define XtIsConstraint(widget)	(_XtCheckSubclassFlag(widget, (XtEnum)0x10))#define XtIsShell(widget)	(_XtCheckSubclassFlag(widget, (XtEnum)0x20))#define XtIsOverrideShell(widget) \    (_XtIsSubclassOf(widget, (WidgetClass)overrideShellWidgetClass, \		     (WidgetClass)shellWidgetClass, (XtEnum)0x20))#define XtIsWMShell(widget)	(_XtCheckSubclassFlag(widget, (XtEnum)0x40))#define XtIsVendorShell(widget)	\    (_XtIsSubclassOf(widget, (WidgetClass)vendorShellWidgetClass, \		     (WidgetClass)wmShellWidgetClass, (XtEnum)0x40))#define XtIsTransientShell(widget) \    (_XtIsSubclassOf(widget, (WidgetClass)transientShellWidgetClass, \		     (WidgetClass)wmShellWidgetClass, (XtEnum)0x40))#define XtIsTopLevelShell(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x80))#define XtIsApplicationShell(widget) \    (_XtIsSubclassOf(widget, (WidgetClass)applicationShellWidgetClass, \		     (WidgetClass)topLevelShellWidgetClass, (XtEnum)0x80))extern void XtRealizeWidget(#if NeedFunctionPrototypes    Widget 		/* widget */#endif);void XtUnrealizeWidget(#if NeedFunctionPrototypes    Widget 		/* widget */#endif);extern void XtDestroyWidget(#if NeedFunctionPrototypes    Widget 		/* widget */#endif);extern void XtSetSensitive(#if NeedFunctionPrototypes    Widget 		/* widget */,    _XtBoolean 		/* sensitive */#endif);extern void XtSetMappedWhenManaged(#if NeedFunctionPrototypes    Widget 		/* widget */,    _XtBoolean 		/* mapped_when_managed */#endif);extern Widget XtNameToWidget(#if NeedFunctionPrototypes    Widget 		/* reference */,    _Xconst _XtString	/* names */#endif);extern Widget XtWindowToWidget(#if NeedFunctionPrototypes    Display*		/* display */,    Window 		/* window */#endif);/*************************************************************** * * Arg lists * ****************************************************************/#define XtSetArg(arg, n, d) \    ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) ))extern ArgList XtMergeArgLists(#if NeedFunctionPrototypes    ArgList 		/* args1 */,    Cardinal 		/* num_args1 */,    ArgList 		/* args2 */,    Cardinal 		/* num_args2 */#endif);/*************************************************************** * * Vararg lists * ****************************************************************/#define XtVaNestedList  "XtVaNestedList"#define XtVaTypedArg    "XtVaTypedArg"extern XtVarArgsList XtVaCreateArgsList(#if NeedVarargsPrototypes    XtPointer		/*unused*/, ...#endif);/************************************************************* * * Information routines * ************************************************************/#ifndef _XtIntrinsicP_h/* We're not included from the private file, so define these */extern Display *XtDisplay(#if NeedFunctionPrototypes    Widget 		/* widget */#endif);extern Display *XtDisplayOfObject(#if NeedFunctionPrototypes    Widget 		/* object */#endif);extern Screen *XtScreen(#if NeedFunctionPrototypes    Widget 		/* widget */#endif);extern Screen *XtScreenOfObject(#if NeedFunctionPrototypes    Widget 		/* object */#endif);extern Window XtWindow(#if NeedFunctionPrototypes    Widget 		/* widget */#endif);extern Window XtWindowOfObject(#if NeedFunctionPrototypes    Widget 		/* object */#endif);extern String XtName(#if NeedFunctionPrototypes    Widget 		/* object */#endif);extern WidgetClass XtSuperclass(#if NeedFunctionPrototypes    Widget 		/* object */#endif);extern WidgetClass XtClass(#if NeedFunctionPrototypes    Widget 		/* object */#endif);extern Widget XtParent(#if NeedFunctionPrototypes    Widget 		/* widget */#endif);#endif /*_XtIntrinsicP_h*/#define XtMapWidget(widget)	XMapWindow(XtDisplay(widget), XtWindow(widget))#define XtUnmapWidget(widget)	\		XUnmapWindow(XtDisplay(widget), XtWindow(widget))extern void XtAddCallback(#if NeedFunctionPrototypes    Widget 		/* widget */,    _Xconst _XtString 	/* callback_name */,    XtCallbackProc 	/* callback */,    XtPointer 		/* closure */#endif);extern void XtRemoveCallback(#if NeedFunctionPrototypes    Widget 		/* widget */,    _Xconst _XtString 	/* callback_name */,    XtCallbackProc 	/* callback */,    XtPointer 		/* closure */#endif);extern void XtAddCallbacks(#if NeedFunctionPrototypes    Widget 		/* widget */,    _Xconst _XtString	/* callback_name */,    XtCallbackList 	/* callbacks */#endif);extern void XtRemoveCallbacks(#if NeedFunctionPrototypes    Widget 		/* widget */,    _Xconst _XtString 	/* callback_name */,    XtCallbackList 	/* callbacks */#endif);extern void XtRemoveAllCallbacks(#if NeedFunctionPrototypes    Widget 		/* widget */,    _Xconst _XtString 	/* callback_name */#endif);extern void XtCallCallbacks(#if NeedFunctionPrototypes    Widget 		/* widget */,    _Xconst _XtString 	/* callback_name */,    XtPointer 		/* call_data */#endif);extern void XtCallCallbackList(#if NeedFunctionPrototypes    Widget		/* widget */,    XtCallbackList 	/* callbacks */,    XtPointer 		/* call_data */#endif);extern XtCallbackStatus XtHasCallbacks(#if NeedFunctionPrototypes    Widget 		/* widget */,    _Xconst _XtString 	/* callback_name */#endif);/**************************************************************** * * Geometry Management * ****************************************************************/extern XtGeometryResult XtMakeGeometryRequest(#if NeedFunctionPrototypes    Widget 		/* widget */,    XtWidgetGeometry*	/* request */,    XtWidgetGeometry*	/* reply_return */#endif);extern XtGeometryResult XtQueryGeometry(#if NeedFunctionPrototypes    Widget 		/* widget */,    XtWidgetGeometry*	/* intended */,    XtWidgetGeometry*	/* preferred_return */#endif);extern Widget XtCreatePopupShell(#if NeedFunctionPrototypes    _Xconst _XtString	/* name */,    WidgetClass 	/* widgetClass */,    Widget 		/* parent */,    ArgList 		/* args */,    Cardinal 		/* num_args */#endif);extern Widget XtVaCreatePopupShell(#if NeedVarargsPrototypes    _Xconst _XtString	/* name */,    WidgetClass		/* widgetClass */,    Widget		/* parent */,    ...#endif);extern void XtPopup(#if NeedFunctionPrototypes    Widget 		/* popup_shell */,    XtGrabKind 		/* grab_kind */#endif);extern void XtPopupSpringLoaded(#if NeedFunctionPrototypes    Widget 		/* popup_shell */#endif);extern void XtCallbackNone(#if NeedFunctionPrototypes    Widget 		/* widget */,    XtPointer 		/* closure */,    XtPointer 		/* call_data */#endif);extern void XtCallbackNonexclusive(#if NeedFunctionPrototypes    Widget 		/* widget */,    XtPointer 		/* closure */,    XtPointer 		/* call_data */#endif);extern void XtCallbackExclusive(#if NeedFunctionPrototypes    Widget 		/* widget */,    XtPointer 		/* closure */,    XtPointer 		/* call_data */#endif);extern void XtPopdown(#if NeedFunctionPrototypes    Widget 		/* popup_shell */#endif);extern void XtCallbackPopdown(#if NeedFunctionPrototypes    Widget 		/* widget */,    XtPointer 		/* closure */,    XtPointer 		/* call_data */#endif);extern void XtMenuPopupAction(#if NeedFunctionPrototypes    Widget 		/* widget */,    XEvent*		/* event */,    String*		/* params */,    Cardinal*		/* num_params */#endif);extern Widget XtCreateWidget(#if NeedFunctionPrototypes    _Xconst _XtString 	/* name */,    WidgetClass 	/* widget_class */,    Widget 		/* parent */,    ArgList 		/* args */,    Cardinal 		/* num_args */#endif);extern Widget XtCreateManagedWidget(#if NeedFunctionPrototypes    _Xconst _XtString 	/* name */,    WidgetClass 	/* widget_class */,    Widget 		/* parent */,    ArgList 		/* args */,    Cardinal 		/* num_args */#endif);extern Widget XtVaCreateWidget(#if NeedVarargsPrototypes    _Xconst _XtString	/* name */,    WidgetClass		/* widget */,    Widget		/* parent */,    ...#endif);extern Widget XtVaCreateManagedWidget(#if NeedVarargsPrototypes    _Xconst _XtString	/* name */,    WidgetClass		/* widget_class */,    Widget		/* parent */,    ...#endif);extern Widget XtCreateApplicationShell( /* obsolete */#if NeedFunctionPrototypes    _Xconst _XtString 	/* name */,    WidgetClass 	/* widget_class */,    ArgList 		/* args */,    Cardinal 		/* num_args */#endif);extern Widget XtAppCreateShell(#if NeedFunctionPrototypes    _Xconst _XtString	/* application_name */,    _Xconst _XtString	/* application_class */,    WidgetClass 	/* widget_class */,    Display*		/* display */,    ArgList 		/* args */,    Cardinal 		/* num_args */#endif);extern Widget XtVaAppCreateShell(#if NeedVarargsPrototypes    _Xconst _XtString	/* application_name */,    _Xconst _XtString	/* application_class */,    WidgetClass		/* widget_class */,    Display*		/* display */,    ...#endif);/**************************************************************** * * Toolkit initialization * ****************************************************************/extern void XtToolkitInitialize(#if NeedFunctionPrototypes    void#endif);extern XtLanguageProc XtSetLanguageProc(#if NeedFunctionPrototypes    XtAppContext	/* app_context */,    XtLanguageProc	/* proc */,    XtPointer		/* client_data */#endif);extern void XtDisplayInitialize(#if NeedFunctionPrototypes    XtAppContext 	/* app_context */,    Display*		/* dpy */,    _Xconst _XtString	/* application_name */,    _Xconst _XtString	/* application_class */,    XrmOptionDescRec* 	/* options */,    Cardinal 		/* num_options */,    int*		/* argc */,    char**		/* argv */#endif);extern Widget XtAppInitialize(#if NeedFunctionPrototypes    XtAppContext*	/* app_context_return */,    _Xconst _XtString	/* application_class */,    XrmOptionDescList 	/* options */,    Cardinal 		/* num_options */,    int*		/* argc_in_out */,    String*		/* argv_in_out */,    String*		/* fallback_resources */,    ArgList 		/* args */,    Cardinal 		/* num_args */#endif);extern Widget XtVaAppInitialize(#if NeedVarargsPrototypes    XtAppContext*	/* app_context_return */,    _Xconst _XtString	/* application_class */,    XrmOptionDescList	/* options */,    Cardinal		/* num_options */,    int*		/* argc_in_out */,    String*		/* argv_in_out */,    String*		/* fallback_resources */,    ...#endif);extern Widget XtInitialize( /* obsolete */#if NeedFunctionPrototypes    _Xconst _XtString 	/* shell_name */,    _Xconst _XtString 	/* application_class */,    XrmOptionDescRec* 	/* options */,    Cardinal 		/* num_options */,    int*		/* argc */,    char**		/* argv */#endif);extern Display *XtOpenDisplay(#if NeedFunctionPrototypes    XtAppContext 	/* app_context */,    _Xconst _XtString	/* display_string */,    _Xconst _XtString	/* application_name */,    _Xconst _XtString	/* application_class */,    XrmOptionDescRec*	/* options */,    Cardinal 		/* num_options */,    int*		/* argc */,    char**		/* argv */#endif);extern XtAppContext XtCreateApplicationContext(

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -