SysTutorials Posts

  • |

    XtAppAddInput (3) Linux Manual Page

    XtAppAddInput, XtRemoveInput – register and remove an input source Syntax #include <X11/Intrinsic.h> XtInputId XtAppAddInput(XtAppContext app_context, int source, XtPointer condition, XtInputCallbackProc proc, XtPointer client_data); void XtRemoveInput(XtInputId 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 input is available. condition Specifies…

  • |

    XtAppAddConverter (3) Linux Manual Page

    XtAppAddConverter, XtAddConverter – register resource converter Syntax #include <X11/Intrinsic.h> void XtAppAddConverter(XtAppContext app_context, const char *from_type, const char *to_type, XtConverter converter, XtConvertArgList convert_args, Cardinal num_args); void XtAddConverter(const char *from_type, const char *to_type, XtConverter converter, XtConvertArgList convert_args, Cardinal num_args); Arguments app_context Specifies the application context. converter Specifies the type converter procedure. convert_args Specifies how to compute the…

  • |

    XtAppAddBlockHook (3) Linux Manual Page

    XtAppAddBlockHook, XtRemoveBlockHook – register a block hook procedure Syntax #include <X11/Intrinsic.h> XtBlockHookId XtAppAddBlockHook(XtAppContext app_context, XtBlockHookProc proc, XtPointer client_data); void XtRemoveBlockHook(XtBlockHookId id); Arguments app_context Specifies the application context. proc Specifies the block hook procedure. num_args Specifies the application-specific data to be passed to the block hook. Description XtAppAddBlockHook registers the specified procedure and returns an identifier…

  • |

    XtAppAddActions (3) Linux Manual Page

    XtAppAddActions – register an action table Syntax #include <X11/Intrinsic.h> void XtAppAddActions(XtAppContext app_context, XtActionList actions, Cardinal num_actions); Arguments app_context Specifies the application context. actions Specifies the action table to register. num_args Specifies the number of entries in this action table. Description The XtAppAddActions function adds the specified action table and registers it with the translation manager….

  • |

    XtAppAddActionHook (3) Linux Manual Page

    XtAppAddActionHook, XtRemoveActionHook – register an action hook procedure Syntax #include <X11/Intrinsic.h> XtActionHookId XtAppAddActionHook(XtAppContext app_context, XtActionHookProc proc, XtPointer client_data); void XtRemoveActionHook(XtActionHookId id); Arguments app_context Specifies the application context. proc Specifies the action hook procedure. num_args Specifies the application-specific data to be passed to the action hook. Description XtAppAddActionHook adds the specified procedure to the front of…

  • |

    XtAllocateGC (3) Linux Manual Page

    XtAllocateGC – obtain a sharable GC with modifiable fields Syntax #include <X11/Intrinsic.h> GC XtAllocateGC(Widget w, Cardinal depth, XtGCMask value_mask, XGCValues *values, XtGCMask dynamic_mask, XtGCMask unused_mask); Arguments values Specifies the actual values for this GC. value_mask Specifies which fields of the values are specified. w Specifies the widget. depth Specifies the depth for which the returned…

  • |

    XtAddWorkProc (3) Linux Manual Page

    XtAddInput, XtAddTimeOut, XtAddWorkProc – register input, timeout, and workprocs Syntax #include <X11/Intrinsic.h> XtInputId XtAddInput(int source, XtPointer condition, XtInputCallbackProc proc, XtPointer client_data); XtIntervalId XtAddTimeOut(unsigned long interval, XtTimerCallbackProc proc, XtPointer client_data); XtWorkProcId XtAddWorkProc(XtWorkProc proc, XtPointer client_data); Arguments client_data Specifies the argument that is to be passed to the specified procedure when input is available condition Specifies the…

  • |

    XtAddTimeOut (3) Linux Manual Page

    XtAddInput, XtAddTimeOut, XtAddWorkProc – register input, timeout, and workprocs Syntax #include <X11/Intrinsic.h> XtInputId XtAddInput(int source, XtPointer condition, XtInputCallbackProc proc, XtPointer client_data); XtIntervalId XtAddTimeOut(unsigned long interval, XtTimerCallbackProc proc, XtPointer client_data); XtWorkProcId XtAddWorkProc(XtWorkProc proc, XtPointer client_data); Arguments client_data Specifies the argument that is to be passed to the specified procedure when input is available condition Specifies the…

  • |

    XtAddRawEventHandler (3) Linux Manual Page

    XtAddEventHandler, XtAddRawEventHandler, XtRemoveEventHandler, XtRemoveRawEventHandler, XtInsertEventHandler, XtInsertRawEventHandler – add and remove event handlers Syntax #include <X11/Intrinsic.h> void XtAddEventHandler(Widget w, EventMask event_mask, Boolean nonmaskable, XtEventHandler proc, XtPointer client_data); void XtAddRawEventHandler(Widget w, EventMask event_mask, Boolean nonmaskable, XtEventHandler proc, XtPointer client_data); void XtRemoveEventHandler(Widget w, EventMask event_mask, Boolean nonmaskable, XtEventHandler proc, XtPointer client_data); void XtRemoveRawEventHandler(Widget w, EventMask event_mask, Boolean nonmaskable,…

  • |

    XtAddInput (3) Linux Manual Page

    XtAddInput, XtAddTimeOut, XtAddWorkProc – register input, timeout, and workprocs Syntax #include <X11/Intrinsic.h> XtInputId XtAddInput(int source, XtPointer condition, XtInputCallbackProc proc, XtPointer client_data); XtIntervalId XtAddTimeOut(unsigned long interval, XtTimerCallbackProc proc, XtPointer client_data); XtWorkProcId XtAddWorkProc(XtWorkProc proc, XtPointer client_data); Arguments client_data Specifies the argument that is to be passed to the specified procedure when input is available condition Specifies the…

  • |

    XtAddGrab (3) Linux Manual Page

    XtAddGrab, XtRemoveGrab – redirect user input to a modal widget Syntax #include <X11/Intrinsic.h> void XtAddGrab(Widget w, Boolean exclusive, Boolean spring_loaded); void XtRemoveGrab(Widget w); Arguments exclusive Specifies whether user events should be dispatched exclusively to this widget or also to previous widgets in the cascade. spring_loaded Specifies whether this widget was popped up because the user…

  • |

    XtAddExposureToRegion (3) Linux Manual Page

    XtAddExposureToRegion – merge exposure events into a region Syntax #include <X11/Intrinsic.h> void XtAddExposureToRegion(XEvent *event, Region region); Arguments event Specifies a pointer to the Expose or GraphicsExpose event. region Specifies the region object (as defined in <X11/Xutil.h>). Description The XtAddExposureToRegion function computes the union of the rectangle defined by the exposure event and the specified region….

  • |

    XtAddEventHandler (3) Linux Manual Page

    XtAddEventHandler, XtAddRawEventHandler, XtRemoveEventHandler, XtRemoveRawEventHandler, XtInsertEventHandler, XtInsertRawEventHandler – add and remove event handlers Syntax #include <X11/Intrinsic.h> void XtAddEventHandler(Widget w, EventMask event_mask, Boolean nonmaskable, XtEventHandler proc, XtPointer client_data); void XtAddRawEventHandler(Widget w, EventMask event_mask, Boolean nonmaskable, XtEventHandler proc, XtPointer client_data); void XtRemoveEventHandler(Widget w, EventMask event_mask, Boolean nonmaskable, XtEventHandler proc, XtPointer client_data); void XtRemoveRawEventHandler(Widget w, EventMask event_mask, Boolean nonmaskable,…

  • |

    XtAddConverter (3) Linux Manual Page

    XtAppAddConverter, XtAddConverter – register resource converter Syntax #include <X11/Intrinsic.h> void XtAppAddConverter(XtAppContext app_context, const char *from_type, const char *to_type, XtConverter converter, XtConvertArgList convert_args, Cardinal num_args); void XtAddConverter(const char *from_type, const char *to_type, XtConverter converter, XtConvertArgList convert_args, Cardinal num_args); Arguments app_context Specifies the application context. converter Specifies the type converter procedure. convert_args Specifies how to compute the…

  • |

    XtAddCallbacks (3) Linux Manual Page

    XtAddCallback, XtAddCallbacks, XtRemoveCallback, XtRemoveCallbacks, XtRemoveAllCallbacks – add and remove callback procedures Syntax #include <X11/Intrinsic.h> void XtAddCallback(Widget w, const char *callback_name, XtCallbackProc callback, XtPointer client_data); void XtAddCallbacks(Widget w, const char *callback_name, XtCallbackList callbacks); void XtRemoveCallback(Widget w, const char *callback_name, XtCallbackProc callback, XtPointer client_data); void XtRemoveCallbacks(Widget w, const char *callback_name, XtCallbackList callbacks); void XtRemoveAllCallbacks(Widget w, const char…

  • |

    XtAddCallback (3) Linux Manual Page

    XtAddCallback, XtAddCallbacks, XtRemoveCallback, XtRemoveCallbacks, XtRemoveAllCallbacks – add and remove callback procedures Syntax #include <X11/Intrinsic.h> void XtAddCallback(Widget w, const char *callback_name, XtCallbackProc callback, XtPointer client_data); void XtAddCallbacks(Widget w, const char *callback_name, XtCallbackList callbacks); void XtRemoveCallback(Widget w, const char *callback_name, XtCallbackProc callback, XtPointer client_data); void XtRemoveCallbacks(Widget w, const char *callback_name, XtCallbackList callbacks); void XtRemoveAllCallbacks(Widget w, const char…

  • |

    XtAddActions (3) Linux Manual Page

    XtAddActions – register an action table Syntax #include <X11/Intrinsic.h> void XtAddActions(XtActionList actions, Cardinal num_actions); Arguments actions Specifies the action table to register. num_args Specifies the number of entries in this action table. Description XtAddActions has been replaced by XtAppAddActions. See Also XtAppAddActions(3) X Toolkit Intrinsics – C Language Interface Xlib – C Language X Interface

  • |

    Xss (3) Linux Manual Page

    XScreenSaver – X11 Screen Saver extension client library Synopsis #include <X11/extensions/scrnsaver.h> typedef struct { Window window; /* screen saver window */ int state; /* ScreenSaver{Off,On,Disabled} */ int kind; /* ScreenSaver{Blanked,Internal,External} */ unsigned long til_or_since; /* milliseconds */ unsigned long idle; /* milliseconds */ unsigned long eventMask; /* events */ } XScreenSaverInfo; typedef struct { int…

  • |

    XrmValue (3) Linux Manual Page

    XrmInitialize, XrmParseCommand, XrmValue, XrmOptionKind, XrmOptionDescRec – initialize the Resource Manager, Resource Manager structures, and parse the command line Syntax #include <X11/Xresource.h> void XrmInitialize(void); void XrmParseCommand(XrmDatabase *database, XrmOptionDescList table, int table_count, char *name, int *argc_in_out, char **argv_in_out); Arguments argc_in_out Specifies the number of arguments and returns the number of remaining arguments. argv_in_out Specifies the command line…

  • |

    XrmUniqueQuark (3) Linux Manual Page

    XrmUniqueQuark, XrmStringToQuark, XrmPermStringToQuark, XrmQuarkToString, XrmStringToQuarkList, XrmStringToBindingQuarkList – manipulate resource quarks Synopsis #include <X11/Xresource.h> XrmQuark XrmUniqueQuark(void); #define XrmStringToName(string) XrmStringToQuark(string) #define XrmStringToClass(string) XrmStringToQuark(string) #define XrmStringToRepresentation(string) XrmStringToQuark(string) int XrmQuark XrmStringToQuark(char *string); XrmQuark XrmPermStringToQuark(char *string); #define XrmStringToName(string) XrmStringToQuark(string) #define XrmStringToClass(string) XrmStringToQuark(string) #define XrmStringToRepresentation(string) XrmStringToQuark(string) XrmQuark XrmStringToQuark(char *string); XrmQuark XrmPermStringToQuark(char *string); #define XrmNameToString(name) XrmQuarkToString(name) #define XrmClassToString(class) XrmQuarkToString(class) #define XrmRepresentationToString(type) XrmQuarkToString(type)…