OBJECT(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 πŸ’–

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's S
  • retrieved by using XtGetValues β€” that's G
  • 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 βœ¨πŸŽ€