XMSCROLLEDWINDOWSETAREAS(3)
β¨ NAME β¨
XmScrolledWindowSetAreas β bestie, this is a ScrolledWindow function that adds or changes a window work region and a horizontal or vertical ScrollBar widget onto your ScrolledWindow widget π
πΈ SYNOPSIS πΈ
#include <Xm/ScrolledW.h>
void XmScrolledWindowSetAreas(
Widget widget,
Widget horizontal_scrollbar,
Widget vertical_scrollbar,
Widget work_region);
π¦ DESCRIPTION π¦
okay so XmScrolledWindowSetAreas adds or changes a window work region and a horizontal or vertical ScrollBar widget to the ScrolledWindow widget for the application. literally that's the whole gig π«Ά
Every single widget here is optional, and any of them can be passed as NULL. no pressure, no obligations, we love a flexible queen β¨
π¨ not me dropping the tea: this function is obsolete and only exists for compatibility with other releases. bestie, use theXmNscrolledWindowChildTyperesource ofXmScrolledWindowinstead. periodt.
π Arguments π
widgetβ Specifies the ScrolledWindow widget ID. this is your main character πhorizontal_scrollbarβ Specifies the ScrollBar widget ID for the horizontal ScrollBar to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget β οΈ (yes, order matters, don't skip ahead). The resource name associated with this argument isXmNhorizontalScrollBar.vertical_scrollbarβ Specifies the ScrollBar widget ID for the vertical ScrollBar to be associated with the ScrolledWindow widget. Again: set this ID only after creating an instance of the ScrolledWindow widget, iykyk π The resource name associated with this argument isXmNverticalScrollBar.work_regionβ Specifies the widget ID for the work window to be associated with the ScrolledWindow widget. And yup, set this ID only after creating an instance of the ScrolledWindow widget too π The attribute name associated with this argument isXmNworkWindow.
For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3). go read it, it's giving encyclopedic π
π RELATED π
and that's the whole page, bestie πβ¨ this iconic lil writeup comes to you from the XmScrolledWindowSetAreas(library call) manual page, straight out of the library call section ππ¦ slay responsibly!
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms