OBJECT(3)
π NAME π
Object β bestie, it's the Object widget class β¨
π SYNOPSIS π
#include <Xm/Xm.h>
π¦ DESCRIPTION π¦
okay so here's the tea: Object is never instantiated. like, ever. not even once. its whole entire sole purpose β and I mean its only job, its main character arc β is being a supporting superclass for other widget classes. it's the friend who holds your bag while you're on stage. iconic behaviour honestly π
πΈ Classes πΈ
- the class pointer is
objectClass - the class name is
Object
β¨ New Resources β¨
so the following table defines a set of widget resources that us programmers use to specify data. you can also set the resource values for the inherited classes to set attributes for this widget, no cap.
now, the way you reference a resource by name or by class in a .Xdefaults file? you remove the XmN or XmC prefix and use the remaining letters. and if you wanna specify one of the defined values for a resource in a .Xdefaults file, you remove the Xm prefix and use the remaining letters β either lowercase or uppercase, your call bestie, but do keep any underscores between the words. periodt.
the codes in the access column tell you if the given resource can be:
- set at creation time β that's
C - set by using
XtSetValuesβ that'sS - retrieved by using
XtGetValuesβ that'sG - or is not applicable β that's
N/A
and here's the Object Resource Set, translated from table-land into bullet form because we don't do tables here π
- Name:
XmNdestroyCallback - Class:
XmCCallback - Type:
XtCallbackList - Default:
NULL - Access:
C
π XmNdestroyCallback π
specifies a list of callbacks that is called when the gadget is destroyed. yes, "gadget". that's what it says. we don't make the rules, we just vibe with them π«Ά
π Translations π
there are no translation for Object. none. zero. not a single one. it's giving minimalist π
π real talk though: since Object is never instantiated, you're not gonna be out here creating one in your code. it's a superclass β respect the hierarchy, bestie.
and that's the whole page! πΈ this one's filed under Object(library call) β and ngl, there's no date or version stamped on this footer, so we're just gonna shout out the source and say: courtesy of the library call section of the manual, always and forever π thanks for reading, ily, go forth and subclass 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