Linux Manuals session 3

Section 3: library functions

  • |

    XtIsConstraint (3) Linux Manual Page

    XtClass, XtSuperclass, XtIsSubclass, XtCheckSubclass, XtIsObject, XtIsRectObj, XtIsWidget, XtIsComposite, XtIsConstraint, XtIsShell, XtIsOverrideShell, XtIsWMShell, XtIsVendorShell, XtIsTransientShell, XtIsTopLevelShell, XtIsApplicationShell, XtIsSessionShell – obtain and verify a widget’s class Syntax #include <X11/Intrinsic.h> WidgetClass XtClass(Widget w); WidgetClass XtSuperclass(Widget w); Boolean XtIsSubclass(Widget w, WidgetClass widget_class); void XtCheckSubclass(Widget widget, WidgetClass widget_class, String message); Boolean XtIsObject(Widget w); Boolean XtIsRectObj(Widget w); Boolean XtIsWidget(Widget w); Boolean…

  • |

    XtIsComposite (3) Linux Manual Page

    XtClass, XtSuperclass, XtIsSubclass, XtCheckSubclass, XtIsObject, XtIsRectObj, XtIsWidget, XtIsComposite, XtIsConstraint, XtIsShell, XtIsOverrideShell, XtIsWMShell, XtIsVendorShell, XtIsTransientShell, XtIsTopLevelShell, XtIsApplicationShell, XtIsSessionShell – obtain and verify a widget’s class Syntax #include <X11/Intrinsic.h> WidgetClass XtClass(Widget w); WidgetClass XtSuperclass(Widget w); Boolean XtIsSubclass(Widget w, WidgetClass widget_class); void XtCheckSubclass(Widget widget, WidgetClass widget_class, String message); Boolean XtIsObject(Widget w); Boolean XtIsRectObj(Widget w); Boolean XtIsWidget(Widget w); Boolean…

  • |

    XtIsApplicationShell (3) Linux Manual Page

    XtClass, XtSuperclass, XtIsSubclass, XtCheckSubclass, XtIsObject, XtIsRectObj, XtIsWidget, XtIsComposite, XtIsConstraint, XtIsShell, XtIsOverrideShell, XtIsWMShell, XtIsVendorShell, XtIsTransientShell, XtIsTopLevelShell, XtIsApplicationShell, XtIsSessionShell – obtain and verify a widget’s class Syntax #include <X11/Intrinsic.h> WidgetClass XtClass(Widget w); WidgetClass XtSuperclass(Widget w); Boolean XtIsSubclass(Widget w, WidgetClass widget_class); void XtCheckSubclass(Widget widget, WidgetClass widget_class, String message); Boolean XtIsObject(Widget w); Boolean XtIsRectObj(Widget w); Boolean XtIsWidget(Widget w); Boolean…

  • |

    XtInstallAllAccelerators (3) Linux Manual Page

    XtParseAcceleratorTable, XtInstallAccelerators, XtInstallAllAccelerators – managing accelerator tables Syntax #include <X11/Intrinsic.h> XtAccelerators XtParseAcceleratorTable(const char * source); void XtInstallAccelerators(Widget destination, Widget source); void XtInstallAllAccelerators(Widget destination, Widget source); Arguments source Specifies the accelerator table to compile. destination Specifies the widget on which the accelerators are to be installed. source Specifies the widget or the root widget of the…

  • |

    XtInstallAccelerators (3) Linux Manual Page

    XtParseAcceleratorTable, XtInstallAccelerators, XtInstallAllAccelerators – managing accelerator tables Syntax #include <X11/Intrinsic.h> XtAccelerators XtParseAcceleratorTable(const char * source); void XtInstallAccelerators(Widget destination, Widget source); void XtInstallAllAccelerators(Widget destination, Widget source); Arguments source Specifies the accelerator table to compile. destination Specifies the widget on which the accelerators are to be installed. source Specifies the widget or the root widget of the…

  • |

    XtInsertRawEventHandler (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,…

  • |

    XtInsertEventTypeHandler (3) Linux Manual Page

    XtInsertEventTypeHandler, XtRemoveEventTypeHandler, XtRegisterExtensionSelector, XtSetEventDispatcher, XtDispatchEventToWidget – extension event handling Syntax #include <X11/Intrinsic.h> void XtInsertEventTypeHandler(Widget widget, int event_type, XtPointer select_data, XtEventHandler proc, XtPointer client_data, XtListPosition position); void XtRemoveEventTypeHandler(Widget widget, int event_type, XtPointer select_data, XtEventHandler proc, XtPointer client_data); void XtRegisterExtensionSelector(Display* display, int min_event_type, int max_event_type, XtExtensionSelectProc proc, XtPointer client_data); XtEventDispatchProc XtSetEventDispatcher(Display* display, int event_type, XtEventDispatchProc proc); Boolean…

  • |

    XtInsertEventHandler (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,…

  • |

    XtInitializeWidgetClass (3) Linux Manual Page

    XtInitializeWidgetClass – initialize a widget class Syntax #include <X11/Intrinsic.h> void XtInitializeWidgetClass(WidgetClass object_class); Arguments object_class Specifies the object class to initialize. Description If the specified widget class is already initialized, XtInitializeWidgetClass returns immediately. If the class initialization procedure registers type converters, these type converters are not available until the first object of the class or subclass…

  • |

    XtInitialize (3) Linux Manual Page

    XtInitialize – initialize Syntax #include <X11/Intrinsic.h> Widget XtInitialize(const char *shell_name, const char *application_class, XrmOptionDescRec* options, Cardinal num_options, int* argc, char** argv); Arguments shell_name Specifies the name of the created shell widget. application_class Specifies the class name of this application, which usually is the generic name for all instances of this application. options Specifies how to…

  • |

    XtHooksOfDisplay (3) Linux Manual Page

    XtHooksOfDisplay – external agent access points Syntax #include <X11/Intrinsic.h> Widget XtHooksOfDisplay(Display* display); Arguments display Specifies the desired display. Description The class of this object is a private, implementation dependent, subclass of Object. The hook object has no parent. The resources of this object are the callback lists for hooks and the read-only resources for getting…

  • |

    XtHasCallbacks (3) Linux Manual Page

    XtCallCallbacks, XtCallCallbackList, XtHasCallbacks – process callbacks Syntax #include <X11/Intrinsic.h> void XtCallCallbacks(Widget w, const char *callback_name, XtPointer call_data); void XtCallCallbackList(Widget w, XtCallbackList callbacks, XtPointer call_data); typedef enum {XtCallbackNoList, XtCallbackHasNone, XtCallbackHasSome} XtCallbackStatus; XtCallbackStatus XtHasCallbacks(Widget w, const char *callback_name); Arguments callback_name Specifies the callback list to be executed or checked. call_data Specifies a callback-list specific data value to…

  • |

    XtGrabPointer (3) Linux Manual Page

    XtGrabKey, XtUngrabKey, XtGrabKeyboard, XtUngrabKeyboard, XtGrabButton, XtUngrabButton, XtGrabPointer, XtUngrabPointer – manage grabs Syntax #include <X11/Intrinsic.h> void XtGrabKey(Widget widget, KeyCode keycode, Modifiers modifiers, Boolean owner_events, int pointer_mode, int keyboard_mode); void XtUngrabKey(Widget widget, KeyCode keycode, Modifiers modifiers); int XtGrabKeyboard(Widget widget, Boolean owner_events, int pointer_mode, int keyboard_mode, Time time); void XtUngrabKeyboard(Widget widget, Time time); void XtGrabButton(Widget widget, int button,…

  • |

    XtGrabKeyboard (3) Linux Manual Page

    XtGrabKey, XtUngrabKey, XtGrabKeyboard, XtUngrabKeyboard, XtGrabButton, XtUngrabButton, XtGrabPointer, XtUngrabPointer – manage grabs Syntax #include <X11/Intrinsic.h> void XtGrabKey(Widget widget, KeyCode keycode, Modifiers modifiers, Boolean owner_events, int pointer_mode, int keyboard_mode); void XtUngrabKey(Widget widget, KeyCode keycode, Modifiers modifiers); int XtGrabKeyboard(Widget widget, Boolean owner_events, int pointer_mode, int keyboard_mode, Time time); void XtUngrabKeyboard(Widget widget, Time time); void XtGrabButton(Widget widget, int button,…

  • |

    XtGrabKey (3) Linux Manual Page

    XtGrabKey, XtUngrabKey, XtGrabKeyboard, XtUngrabKeyboard, XtGrabButton, XtUngrabButton, XtGrabPointer, XtUngrabPointer – manage grabs Syntax #include <X11/Intrinsic.h> void XtGrabKey(Widget widget, KeyCode keycode, Modifiers modifiers, Boolean owner_events, int pointer_mode, int keyboard_mode); void XtUngrabKey(Widget widget, KeyCode keycode, Modifiers modifiers); int XtGrabKeyboard(Widget widget, Boolean owner_events, int pointer_mode, int keyboard_mode, Time time); void XtUngrabKeyboard(Widget widget, Time time); void XtGrabButton(Widget widget, int button,…

  • |

    XtGrabButton (3) Linux Manual Page

    XtGrabKey, XtUngrabKey, XtGrabKeyboard, XtUngrabKeyboard, XtGrabButton, XtUngrabButton, XtGrabPointer, XtUngrabPointer – manage grabs Syntax #include <X11/Intrinsic.h> void XtGrabKey(Widget widget, KeyCode keycode, Modifiers modifiers, Boolean owner_events, int pointer_mode, int keyboard_mode); void XtUngrabKey(Widget widget, KeyCode keycode, Modifiers modifiers); int XtGrabKeyboard(Widget widget, Boolean owner_events, int pointer_mode, int keyboard_mode, Time time); void XtUngrabKeyboard(Widget widget, Time time); void XtGrabButton(Widget widget, int button,…

  • |

    XtGetValues (3) Linux Manual Page

    XtSetValues, XtVaSetValues, XtSetSubvalues, XtVaSetSubvalues, XtGetValues, XtVaGetValues, XtGetSubvalues, XtVaGetSubvalues – obtain and set widget resources Syntax #include <X11/Intrinsic.h> void XtSetValues(Widget w, ArgList args, Cardinal num_args); void XtVaSetValues(Widget w, …); void XtSetSubvalues(XtPointer base, XtResourceList resources, Cardinal num_resources, ArgList args, Cardinal num_args); void XtVaSetSubvalues(XtPointer base, XtResourceList resources, Cardinal num_resources, …); void XtGetValues(Widget w, ArgList args, Cardinal num_args); void…

  • |

    XtGetSubvalues (3) Linux Manual Page

    XtSetValues, XtVaSetValues, XtSetSubvalues, XtVaSetSubvalues, XtGetValues, XtVaGetValues, XtGetSubvalues, XtVaGetSubvalues – obtain and set widget resources Syntax #include <X11/Intrinsic.h> void XtSetValues(Widget w, ArgList args, Cardinal num_args); void XtVaSetValues(Widget w, …); void XtSetSubvalues(XtPointer base, XtResourceList resources, Cardinal num_resources, ArgList args, Cardinal num_args); void XtVaSetSubvalues(XtPointer base, XtResourceList resources, Cardinal num_resources, …); void XtGetValues(Widget w, ArgList args, Cardinal num_args); void…

  • |

    XtGetSubresources (3) Linux Manual Page

    XtGetSubresources, XtVaGetSubresources – obtain subresources Syntax #include <X11/Intrinsic.h> void XtGetSubresources(Widget w, XtPointer base, const char *name, const char * class, XtResourceList resources, Cardinal num_resources, ArgList args, Cardinal num_args); void XtVaGetSubresources(Widget w, XtPointer base, const char *name, const char *class, XtResourceList resources, Cardinal num_resources, …); Arguments args Specifies the argument list to override resources obtained from…

  • |

    XtGetSelectionValuesIncremental (3) Linux Manual Page

    XtGetSelectionValueIncremental, XtGetSelectionValuesIncremental – obtain selection values Syntax #include <X11/Intrinsic.h> void XtGetSelectionValueIncremental(Widget w, Atom selection, Atom target, XtSelectionCallbackProc callback, XtPointer client_data, Time time); void XtGetSelectionValuesIncremental(Widget w, Atom selection, Atom *targets, int count, XtSelectionCallbackProc callback, XtPointer *client_data, Time time); Arguments callback Specifies the callback procedure that is to be called when the selection value has been obtained….