XMMAINWINDOWSETAREAS(3)
π XmMainWindowSetAreas π
okay bestie, welcome to the XmMainWindowSetAreas page from the library call manual β this is the one that tells your MainWindow which kiddos belong in which area π
β¨ NAME β¨
XmMainWindowSetAreas β a MainWindow function that identifies manageable children for each area π«Ά
πΈ SYNOPSIS πΈ
#include <Xm/MainW.h>
void XmMainWindowSetAreas(
Widget widget,
Widget menu_bar,
Widget command_window,
Widget horizontal_scrollbar,
Widget vertical_scrollbar,
Widget work_region);
π DESCRIPTION π
XmMainWindowSetAreas is literally the girl who does the seating chart πββοΈ she identifies which of the valid children for each area (like the MenuBar and the work region) are gonna be actively managed by MainWindow. She also sets up β or adds β the MenuBar, work window, command window, and ScrollBar widgets to the application's main window widget. so she's not just assigning seats, she's also walking them to the table. iconic.
Every single area is optional, so you can pass NULL to one or more of the arguments below. and no, you don't need to worry about the title bar β the window manager handles that one. not your problem, bestie π
β οΈ NOTE:XmMainWindowSetAreasis obsolete and only exists for compatibility with previous releases π the info that this function used to hand you can now be obtained through a call toXtGetValueson theXmNscrolledWindowChildTyperesource. so likeβ¦ she's retired but still shows up to the function. respect.
widgetβ specifies the MainWindow widget ID. this is the main character πmenu_barβ specifies the widget ID for the MenuBar to be associated with the MainWindow widget. β set this ID only after creating an instance of the MainWindow widget. the attribute name associated with this argument isXmNmenuBar.command_windowβ specifies the widget ID for the command window to be associated with the MainWindow widget. set this ID only after creating an instance of the MainWindow widget. the attribute name associated with this argument isXmNcommandWindow.horizontal_scrollbarβ specifies the ScrollBar widget ID for the horizontal ScrollBar to be associated with the MainWindow widget. set this ID only after creating an instance of the MainWindow widget. the attribute name associated with this argument isXmNhorizontalScrollBar.vertical_scrollbarβ specifies the ScrollBar widget ID for the vertical ScrollBar to be associated with the MainWindow widget. set this ID only after creating an instance of the MainWindow widget. the attribute name associated with this argument isXmNverticalScrollBar.work_regionβ specifies the widget ID for the work window to be associated with the MainWindow widget. set this ID only after creating an instance of the MainWindow widget. the attribute name associated with this argument isXmNworkWindow.
also!! if you want the complete definition of MainWindow and all its associated resources, go read XmMainWindow(3). she's the source of truth, no cap π
π¦ RELATED π¦
and that's the whole page, bestie π this one's a library call page for XmMainWindowSetAreas, straight from the Xm manual set β no fancy date stamp on this one, she's timeless like that β¨ go forth and set your areas, you got this π«Άπ
π¦ 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