XMSCROLLEDWINDOWSETAREAS(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ 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 the XmNscrolledWindowChildType resource of XmScrolledWindow instead. 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 is XmNhorizontalScrollBar.
  • 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 is XmNverticalScrollBar.
  • 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 is XmNworkWindow.

For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3). go read it, it's giving encyclopedic πŸ“š



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!