Linux Manuals session 3

Section 3: library functions

  • |

    XtMakeResizeRequest (3) Linux Manual Page

    XtMakeGeometryRequest, XtMakeResizeRequest – make geometry manager request Syntax #include <X11/Intrinsic.h> XtGeometryResult XtMakeGeometryRequest(Widget w, XtWidgetGeometry *request, XtWidgetGeometry *reply_return); XtGeometryResult XtMakeResizeRequest(Widget w, Dimension width, Dimension height, Dimension *width_return, Dimension *height_return); Arguments reply_return Returns the allowed widget size or may be NULL if the requesting widget is not interested in handling XtGeometryAlmost. request Specifies the desired widget geometry…

  • |

    XtMakeGeometryRequest (3) Linux Manual Page

    XtMakeGeometryRequest, XtMakeResizeRequest – make geometry manager request Syntax #include <X11/Intrinsic.h> XtGeometryResult XtMakeGeometryRequest(Widget w, XtWidgetGeometry *request, XtWidgetGeometry *reply_return); XtGeometryResult XtMakeResizeRequest(Widget w, Dimension width, Dimension height, Dimension *width_return, Dimension *height_return); Arguments reply_return Returns the allowed widget size or may be NULL if the requesting widget is not interested in handling XtGeometryAlmost. request Specifies the desired widget geometry…

  • |

    XtMainLoop (3) Linux Manual Page

    XtNextEvent, XtPending, XtPeekEvent, XtProcessEvent, XtMainLoop – query and process events and input Syntax #include <X11/Intrinsic.h> void XtNextEvent(XEvent *event_return); Boolean XtPeekEvent(XEvent *event_return); Boolean XtPending(void); void XtProcessEvent(XtInputMask mask); void XtMainLoop(void); Arguments event Specifies a pointer to the event structure that is to be dispatched to the appropriate event handler. event_return Returns the event information to the specified…

  • |

    XtLastTimestampProcessed (3) Linux Manual Page

    XtLastEventProcessed, XtLastTimestampProcessed – last event, last timestamp processed Syntax #include <X11/Intrinsic.h> XEvent* XtLastEventProcessed(Display* display); Time XtLastTimestampProcessed(Display* display); Arguments display Specifies the open display connection. Description XtLastEventProcessed returns the last event passed to XtDispatchEvent for the specified display and NULL if there has been no event. The client must not modify the contents of the returned…

  • |

    XtLastEventProcessed (3) Linux Manual Page

    XtLastEventProcessed, XtLastTimestampProcessed – last event, last timestamp processed Syntax #include <X11/Intrinsic.h> XEvent* XtLastEventProcessed(Display* display); Time XtLastTimestampProcessed(Display* display); Arguments display Specifies the open display connection. Description XtLastEventProcessed returns the last event passed to XtDispatchEvent for the specified display and NULL if there has been no event. The client must not modify the contents of the returned…

  • |

    XtKeysymToKeycodeList (3) Linux Manual Page

    XtGetKeysymTable, XtKeysymToKeycodeList – query keysyms and keycodes Syntax #include <X11/Intrinsic.h> KeySym* XtGetKeysymTable(Display* display, KeyCode* min_keycode_return, int *keysyms_per_keycode_return); void XtKeysymToKeycodeList(Display* display, KeySym keysym, KeyCode** keycodes_return, Cardinal* keycount_return); Arguments display Specifies the display whose table is required. min_keycode_return Returns the minimum KeyCode valid for the display. keysyms_per_keycode_return Returns the number of KeySyms stored for each KeyCode. keysym…

  • |

    XtIsWidget (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…

  • |

    XtIsWMShell (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…

  • |

    XtIsVendorShell (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…

  • |

    XtIsTransientShell (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…

  • |

    XtIsTopLevelShell (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…

  • |

    XtIsSubclass (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…

  • |

    XtIsShell (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…

  • |

    XtIsSessionShell (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…

  • |

    XtIsSensitive (3) Linux Manual Page

    XtSetSensitive, XtIsSensitive – set and check a widget’s sensitivity state Syntax #include <X11/Intrinsic.h> void XtSetSensitive(Widget w, Boolean sensitive); Boolean XtIsSensitive(Widget w); Arguments sensitive Specifies a Boolean value that indicates whether the widget should receive keyboard and pointer events. w Specifies the widget. Description The XtSetSensitive function first calls XtSetValues on the current widget with an…

  • |

    XtIsRectObj (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…

  • |

    XtIsRealized (3) Linux Manual Page

    XtRealizeWidget, XtIsRealized, XtUnrealizeWidget – realize and unrealize widgets Syntax #include <X11/Intrinsic.h> void XtRealizeWidget(Widget w); Boolean XtIsRealized(Widget w); void XtUnrealizeWidget(Widget w); Arguments w Specifies the widget. Description If the widget is already realized, XtRealizeWidget simply returns. Otherwise, it performs the following: • Binds all action names in the widget’s translation table to procedures (see Section 10.1.2)….

  • |

    XtIsOverrideShell (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…

  • |

    XtIsObject (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…

  • |

    XtIsManaged (3) Linux Manual Page

    XtManageChildren, XtManageChild, XtUnmanageChildren, XtUnmanageChild, XtChangeManagedSet, XtIsManaged – manage and unmanage children Syntax #include <X11/Intrinsic.h> typedef Widget *WidgetList; void XtManageChildren(WidgetList children, Cardinal num_children); void XtManageChild(Widget child); void XtUnmanageChildren(WidgetList children, Cardinal num_children); void XtUnmanageChild(Widget child); void XtChangeManagedSet(WidgetList unmanage_children, Cardinal num_unmanage_children, XtDoChangeProc do_change_proc, XtPointer client_data, WidgetList manage_children, Cardinal num_manage_children); Boolean XtIsManaged(Widget widget); Arguments child Specifies the child. children…