Linux Manuals session 3

Section 3: library functions

  • |

    XtAppWarning (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);Argumentsapp_context Specifies the application context. message Specifies the nonfatal error message that is to be reported. handler Specifies the new fatal error procedure, which…

  • |

    XtAppUnlock (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);Argumentsapp_context Specifies the application context.DescriptionXtAppLock locks the application context including all its related displays and widgets. XtAppUnlock unlocks the application context. See AlsoX Toolkit Intrinsics – C Language Interface Xlib – C Language X Interface

  • |

    XtAppSetWarningMsgHandler (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, String…

  • |

    XtAppSetWarningHandler (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);Argumentsapp_context Specifies the application context. message Specifies the nonfatal error message that is to be reported. handler Specifies the new fatal error procedure, which…

  • |

    XtAppSetTypeConverter (3) Linux Manual Page

    XtAppSetTypeConverter, XtSetTypeConverter – register resource converter Syntax#include <X11/Intrinsic.h> void XtAppSetTypeConverter(XtAppContext app_context, const char *from_type, const char * to_type, XtTypeConverter converter, XtConvertArgList convert_args, Cardinal num_args, XtCacheType cache_type, XtDestructor destructor); void XtSetTypeConverter(const char *from_type, const char *to_type, XtTypeConverter converter, XtConvertArgList convert_args, Cardinal num_args, XtCacheType cache_type, XtDestructor destructor);Argumentsapp_context Specifies the application context. converter Specifies the type converter procedure….

  • |

    XtAppSetSelectionTimeout (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);Argumentsapp_context Specifies the application context. timeout Specifies the selection timeout in milliseconds.DescriptionThe XtAppGetSelectionTimeout function returns the current selection timeout value, in milliseconds. The selection timeout is the time within which the two communicating applications must…

  • |

    XtAppSetFallbackResources (3) Linux Manual Page

    XtAppSetFallbackResources – set fallback resources Syntax#include <X11/Intrinsic.h> void XtAppSetFallbackResources(XtAppContext app_context, String* specification_list);Argumentsapp_context Specifies the application context. specification_list Specifies a NULL-terminated list of resource specifications to pre-load the database, or NULL.DescriptionEach entry in specification_list points to a string in the format XrmPutLineResource. following a call to XtAppSetFallbackResources, when a resource database is being created for a…

  • |

    XtAppSetExitFlag (3) Linux Manual Page

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

  • |

    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, String…

  • |

    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);Argumentsapp_context Specifies the application context. message Specifies the nonfatal error message that is to be reported. handler Specifies the new fatal error procedure, which…

  • |

    XtAppReleaseCacheRefs (3) Linux Manual Page

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

  • |

    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);Argumentsapp_context Specifies the application context that identifies the application. event Specifies a pointer to the event structure…

  • |

    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);Argumentsapp_context Specifies the application context that identifies the application. event Specifies a pointer to the event structure…

  • |

    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);Argumentsapp_context Specifies the application context that identifies the application. event Specifies a pointer to the event structure…

  • |

    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);Argumentsapp_context Specifies the application context that identifies the application. event Specifies a pointer to the event structure…

  • |

    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);Argumentsapp_context Specifies the application context that identifies the application. event Specifies a pointer to the event structure…

  • |

    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);Argumentsapp_context Specifies the application context.DescriptionXtAppLock locks the application context including all its related displays and widgets. XtAppUnlock unlocks the application context. See AlsoX Toolkit Intrinsics – C Language Interface Xlib – C Language X Interface

  • |

    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, …);Argumentsapp_context_return Specifies the application context. application_class Specifies the…

  • |

    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);Argumentsapp_context Specifies the application context. timeout Specifies the selection timeout in milliseconds.DescriptionThe XtAppGetSelectionTimeout function returns the current selection timeout value, in milliseconds. The selection timeout is the time within which the two communicating applications must…

  • |

    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);Argumentsapp_context Specifies the application context.DescriptionTo indicate that an application context should exit, use XtAppSetExitFlag. To test the exit status of an application context, use XtAppGetExitFlag. See AlsoX Toolkit Intrinsics – C Language Interface Xlib – C Language X Interface