SysTutorials Posts

  • |

    XtAppSetErrorMsgHandler (3) Linux Manual Page

    XtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler, XtAppWarningMsg – high-level error handlers Syntax #include <X11/Intrinsic.h> void XtAppErrorMsg(XtAppContext app_context, const char *name, const char *type, const char *class, const char *defaultMsg, String *params, Cardinal *num_params); XtErrorMsgHandler XtAppSetErrorMsgHandler(XtAppContext app_context, XtErrorMsgHandler msg_handler); XtErrorMsgHandler XtAppSetWarningMsgHandler(XtAppContext app_context, XtErrorMsgHandler msg_handler); void XtAppWarningMsg(XtAppContext app_context, const char *name, const char *type, const char *class, const char *defaultMsg,…

  • |

    XtAppSetErrorHandler (3) Linux Manual Page

    XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning – low-level error handlers Syntax #include <X11/Intrinsic.h> void XtAppError(XtAppContext app_context, const char *message); XtErrorHandler XtAppSetErrorHandler(XtAppContext app_context, XtErrorHandler handler); XtErrorHandler XtAppSetWarningHandler(XtAppContext app_context, XtErrorHandler handler); void XtAppWarning(XtAppContext app_context, const char *message); Arguments app_context Specifies the application context. message Specifies the nonfatal error message that is to be reported. handler Specifies the new fatal…

  • |

    XtAppReleaseCacheRefs (3) Linux Manual Page

    XtAppReleaseCacheRefs – decrement reference counts for resources Syntax #include <X11/Intrinsic.h> void XtAppReleaseCacheRefs(XtAppContext app_context, XtCacheRef* refs); Arguments app_context Specifies the application context. refs Specifies the list of cache references to be released. Description XtAppReleaseCacheRefs decrements the reference count for the conversion entries identified by the refs argument. This argument is a pointer to a NULL-terminated list…

  • |

    XtAppProcessEvent (3) Linux Manual Page

    XtAppNextEvent, XtAppPending, XtAppPeekEvent, XtAppProcessEvent, XtDispatchEvent, XtAppMainLoop – query and process events and input Syntax #include <X11/Intrinsic.h> void XtAppNextEvent(XtAppContext app_context, XEvent *event_return); Boolean XtAppPeekEvent(XtAppContext app_context, XEvent *event_return); XtInputMask XtAppPending(XtAppContext app_context); void XtAppProcessEvent(XtAppContext app_context, XtInputMask mask); Boolean XtDispatchEvent(XEvent *event); void XtAppMainLoop(XtAppContext app_context); Arguments app_context Specifies the application context that identifies the application. event Specifies a pointer to…

  • |

    XtAppPending (3) Linux Manual Page

    XtAppNextEvent, XtAppPending, XtAppPeekEvent, XtAppProcessEvent, XtDispatchEvent, XtAppMainLoop – query and process events and input Syntax #include <X11/Intrinsic.h> void XtAppNextEvent(XtAppContext app_context, XEvent *event_return); Boolean XtAppPeekEvent(XtAppContext app_context, XEvent *event_return); XtInputMask XtAppPending(XtAppContext app_context); void XtAppProcessEvent(XtAppContext app_context, XtInputMask mask); Boolean XtDispatchEvent(XEvent *event); void XtAppMainLoop(XtAppContext app_context); Arguments app_context Specifies the application context that identifies the application. event Specifies a pointer to…

  • |

    XtAppPeekEvent (3) Linux Manual Page

    XtAppNextEvent, XtAppPending, XtAppPeekEvent, XtAppProcessEvent, XtDispatchEvent, XtAppMainLoop – query and process events and input Syntax #include <X11/Intrinsic.h> void XtAppNextEvent(XtAppContext app_context, XEvent *event_return); Boolean XtAppPeekEvent(XtAppContext app_context, XEvent *event_return); XtInputMask XtAppPending(XtAppContext app_context); void XtAppProcessEvent(XtAppContext app_context, XtInputMask mask); Boolean XtDispatchEvent(XEvent *event); void XtAppMainLoop(XtAppContext app_context); Arguments app_context Specifies the application context that identifies the application. event Specifies a pointer to…

  • |

    XtAppNextEvent (3) Linux Manual Page

    XtAppNextEvent, XtAppPending, XtAppPeekEvent, XtAppProcessEvent, XtDispatchEvent, XtAppMainLoop – query and process events and input Syntax #include <X11/Intrinsic.h> void XtAppNextEvent(XtAppContext app_context, XEvent *event_return); Boolean XtAppPeekEvent(XtAppContext app_context, XEvent *event_return); XtInputMask XtAppPending(XtAppContext app_context); void XtAppProcessEvent(XtAppContext app_context, XtInputMask mask); Boolean XtDispatchEvent(XEvent *event); void XtAppMainLoop(XtAppContext app_context); Arguments app_context Specifies the application context that identifies the application. event Specifies a pointer to…

  • |

    XtAppMainLoop (3) Linux Manual Page

    XtAppNextEvent, XtAppPending, XtAppPeekEvent, XtAppProcessEvent, XtDispatchEvent, XtAppMainLoop – query and process events and input Syntax #include <X11/Intrinsic.h> void XtAppNextEvent(XtAppContext app_context, XEvent *event_return); Boolean XtAppPeekEvent(XtAppContext app_context, XEvent *event_return); XtInputMask XtAppPending(XtAppContext app_context); void XtAppProcessEvent(XtAppContext app_context, XtInputMask mask); Boolean XtDispatchEvent(XEvent *event); void XtAppMainLoop(XtAppContext app_context); Arguments app_context Specifies the application context that identifies the application. event Specifies a pointer to…

  • |

    XtAppLock (3) Linux Manual Page

    XtAppLock, XtAppUnlock – lock and unlock application context Syntax #include <X11/Intrinsic.h> void XtAppLock(XtAppContext app_context); void XtAppUnlock(XtAppContext app_context); Arguments app_context Specifies the application context. Description XtAppLock locks the application context including all its related displays and widgets. XtAppUnlock unlocks the application context. See Also X Toolkit Intrinsics – C Language Interface Xlib – C Language X…

  • |

    XtAppInitialize (3) Linux Manual Page

    XtAppInitialize, XtVaAppInitialize – initialize, open, or close a display Syntax #include <X11/Intrinsic.h> Widget XtAppInitialize(XtAppContext* app_context_return, const char *application_class, XrmOptionDescRec* options, Cardinal num_options, int *argc_in_out, char **argv_in_out, String *fallback_resources, ArgList args, Cardinal num_args); Widget XtVaAppInitialize(XtAppContext* app_context_return, const char *application_class, XrmOptionDescRec* options, Cardinal num_options, int *argc_in_out, char **argv_in_out, String *fallback_resources, …); Arguments app_context_return Specifies the application context….

  • |

    XtAppGetSelectionTimeout (3) Linux Manual Page

    XtAppGetSelectionTimeout, XtAppSetSelectionTimeout – set and obtain selection timeout values Syntax #include <X11/Intrinsic.h> unsigned long XtAppGetSelectionTimeout(XtAppContext app_context); void XtAppSetSelectionTimeout(XtAppContext app_context, unsigned long timeout); Arguments app_context Specifies the application context. timeout Specifies the selection timeout in milliseconds. Description The XtAppGetSelectionTimeout function returns the current selection timeout value, in milliseconds. The selection timeout is the time within which…

  • |

    XtAppGetExitFlag (3) Linux Manual Page

    XtAppSetExitFlag, XtAppGetExitFlag – thread support functions Syntax #include <X11/Intrinsic.h> void XtAppSetExitFlag(XtAppContext app_context); Boolean XtAppGetExitFlag(XtAppContext app_context); Arguments app_context Specifies the application context. Description To indicate that an application context should exit, use XtAppSetExitFlag. To test the exit status of an application context, use XtAppGetExitFlag. See Also X Toolkit Intrinsics – C Language Interface Xlib – C…

  • |

    XtAppGetErrorDatabaseText (3) Linux Manual Page

    XtAppGetErrorDatabase, XtAppGetErrorDatabaseText – obtain error database Syntax #include <X11/Intrinsic.h> XrmDatabase *XtAppGetErrorDatabase(XtAppContext app_context); void XtAppGetErrorDatabaseText(XtAppContext app_context, const char *name, const char *type, const char *class, const char *defaultMsg, char *buffer_return, int nbytes, XrmDatabase database); Arguments app_context Specifies the application context. buffer_return Specifies the buffer into which the error message is to be returned. class Specifies the…

  • |

    XtAppGetErrorDatabase (3) Linux Manual Page

    XtAppGetErrorDatabase, XtAppGetErrorDatabaseText – obtain error database Syntax #include <X11/Intrinsic.h> XrmDatabase *XtAppGetErrorDatabase(XtAppContext app_context); void XtAppGetErrorDatabaseText(XtAppContext app_context, const char *name, const char *type, const char *class, const char *defaultMsg, char *buffer_return, int nbytes, XrmDatabase database); Arguments app_context Specifies the application context. buffer_return Specifies the buffer into which the error message is to be returned. class Specifies the…

  • |

    XtAppErrorMsg (3) Linux Manual Page

    XtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler, XtAppWarningMsg – high-level error handlers Syntax #include <X11/Intrinsic.h> void XtAppErrorMsg(XtAppContext app_context, const char *name, const char *type, const char *class, const char *defaultMsg, String *params, Cardinal *num_params); XtErrorMsgHandler XtAppSetErrorMsgHandler(XtAppContext app_context, XtErrorMsgHandler msg_handler); XtErrorMsgHandler XtAppSetWarningMsgHandler(XtAppContext app_context, XtErrorMsgHandler msg_handler); void XtAppWarningMsg(XtAppContext app_context, const char *name, const char *type, const char *class, const char *defaultMsg,…

  • |

    XtAppError (3) Linux Manual Page

    XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning – low-level error handlers Syntax #include <X11/Intrinsic.h> void XtAppError(XtAppContext app_context, const char *message); XtErrorHandler XtAppSetErrorHandler(XtAppContext app_context, XtErrorHandler handler); XtErrorHandler XtAppSetWarningHandler(XtAppContext app_context, XtErrorHandler handler); void XtAppWarning(XtAppContext app_context, const char *message); Arguments app_context Specifies the application context. message Specifies the nonfatal error message that is to be reported. handler Specifies the new fatal…

  • |

    XtAppCreateShell (3) Linux Manual Page

    XtAppCreateShell, XtVaAppCreateShell – create top-level widget instance Syntax #include <X11/Intrinsic.h> Widget XtAppCreateShell(const char *application_name, const char *application_class, WidgetClass widget_class, Display *display, ArgList args, Cardinal num_args); Widget XtVaAppCreateShell(const char * application_name, const char * application_class, WidgetClass widget_class, Display *display, …); Arguments application_name Specifies the name of the application instance. application_class Specifies the class name of this…

  • |

    XtAppAddWorkProc (3) Linux Manual Page

    XtAppAddWorkProc, XtRemoveWorkProc – Add and remove background processing procedures Syntax #include <X11/Intrinsic.h> XtWorkProcId XtAppAddWorkProc(XtAppContext app_context, XtWorkProc proc, XtPointer client_data); void XtRemoveWorkProc(XtWorkProcId id); Arguments app_context Specifies the application context that identifies the application. client_data Specifies the argument that is to be passed to the specified procedure when it is called. proc Specifies the procedure that is…

  • |

    XtAppAddTimeOut (3) Linux Manual Page

    XtAppAddTimeOut, XtRemoveTimeOut – register and remove timeouts Syntax #include <X11/Intrinsic.h> XtIntervalId XtAppAddTimeOut(XtAppContext app_context, unsigned long interval, XtTimerCallbackProc proc, XtPointer client_data); void XtRemoveTimeOut(XtIntervalId timer); Arguments app_context Specifies the application context for which the timer is to be set. client_data Specifies the argument that is to be passed to the specified procedure when handling the callback. interval…

  • |

    XtAppAddSignal (3) Linux Manual Page

    XtAppAddSignal, XtRemoveSignal, XtNoticeSignal – register and remove a signal source Syntax #include <X11/Intrinsic.h> XtSignalId XtAppAddSignal(XtAppContext app_context, XtSignalCallbackProc proc, XtPointer client_data); void XtRemoveSignal(XtSignalId id); void XtNoticeSignal(XtSignalId id); Arguments app_context Specifies the application context. client_data Specifies the argument that is to be passed to the specified procedure when a signal has been raised. id Specifies the ID…