SysTutorials Posts

  • |

    XtMoveWidget (3) Linux Manual Page

    XtConfigureWidget, XtMoveWidget, XtResizeWidget – move and resize widgets Syntax #include <X11/Intrinsic.h> void XtConfigureWidget(Widget w, Position x, Position y, Dimension width, Dimension height, Dimension border_width); void XtMoveWidget(Widget w, Position x, Position y); void XtResizeWidget(Widget w, Dimension width, Dimension height, Dimension border_width); void XtResizeWindow(Widget w); Arguments width height border_width Specify the new widget size. w Specifies the…

  • |

    XtMergeArgLists (3) Linux Manual Page

    XtSetArg, XtMergeArgLists – set and merge ArgLists Syntax #include <X11/Intrinsic.h> int XtSetArg(Arg arg, String name, XtArgVal value); ArgList XtMergeArgLists(ArgList args1, Cardinal num_args1, ArgList args2, Cardinal num_args2); Arguments arg Specifies the name-value pair to set. args1 Specifies the first ArgList. args2 Specifies the second ArgList. num_args1 Specifies the number of arguments in the first argument list….

  • |

    XtMapWidget (3) Linux Manual Page

    XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget – map and unmap widgets Syntax #include <X11/Intrinsic.h> void XtMapWidget(Widget w); void XtSetMappedWhenManaged(Widget w, Boolean map_when_managed); void XtUnmapWidget(Widget w); Arguments map_when_managed Specifies a Boolean value that indicates the new value of the map_when_managed field. w Specifies the widget. Description If the widget is realized and managed and if the new value of…

  • |

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

  • |

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

  • |

    XtMalloc (3) Linux Manual Page

    XtMalloc, XtCalloc, XtRealloc, XtFree, XtNew, XtNewString – memory management functions Syntax #include <X11/Intrinsic.h> char *XtMalloc(Cardinal size); char *XtCalloc(Cardinal num, Cardinal size); char *XtRealloc(char *ptr, Cardinal num); void XtFree(char *ptr); type *XtNew(type); String XtNewString(String string); Cardinal XtAsprintf(char **new_string, const char *format, …); Arguments num Specifies the number of bytes or array elements. ptr Specifies a pointer…

  • |

    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…