XmSlideContext(3X)
π XmSlideContext β the slide-y widget class, bestie
okay so this is XmSlideContext(3X), from section 3X of the manual. It's the SlideContext widget class and honestly? she's giving main character energy. Let's get into it. π¦
β¨ NAME β¨
XmSlideContext β the SlideContext widget class. that's it, that's the name, periodt. π
π SYNOPSIS π
#include <Xm/SlideC.h>
πΈ DESCRIPTION πΈ
so SlideContext can be used to change a widget's geometry over a period of time. lowkey iconic behavior.
Next paragraph
Next paragraph
π§ Classes
SlideContext inherits behavior and resources from the Object class. family tree moment fr fr.
- The class pointer is
XmSlideContextWidgetClass. - The class name is
XmSlideContext.
π New Resources π
The following table defines a set of widget resources used by the programmer to specify data. The programmer can also set the resource values for the inherited classes to set attributes for this widget. To reference a resource by name or by class in a .Xdefaults file, remove the XmN or XmC prefix and use the remaining letters. To specify one of the defined values for a resource in a .Xdefaults file, remove the Xm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words). The codes in the access column indicate if the given resource can be set at creation time (C), set by using XtSetValues (S), retrieved by using XtGetValues (G), or is not applicable (N/A).
β XmSlideContext Resource Set β
XmNslideDestHeightβ classXtCSlideDestHeight, typeDimension, default variable, accessCXmNslideDestWidthβ classXtCSlideDestWidth, typeDimension, default variable, accessCXmNslideDestXβ classXtCSlideDestX, typePosition, default variable, accessCXmNslideDestYβ classXtCSlideDestY, typePosition, default variable, accessCXmNslideFinishCallbackβ classXtCCallback, typeXtCallbackList, defaultNULL, accessCXmNslideIntervalβ classXtCSlideInterval, typeint, default5, accessCXmNslideMotionCallbackβ classXtCCallback, typeXtCallbackList, defaultNULL, accessCXmNslideWidgetβ classXtCSlideWidget, typeWidget, defaultNULL, accessC
and here's what each one actually does, bestie:
XmNslideDestHeightβ if you don't specify it, the current height ofXmNslideWidgetis used. no thoughts, just the height it already has. π«XmNslideDestWidthβ if you don't specify it, the current width ofXmNslideWidgetis used.XmNslideDestXβ if you don't specify it, the current x ofXmNslideWidgetis used.XmNslideDestYβ if you don't specify it, the current y ofXmNslideWidgetis used.XmNslideFinishCallbackβ specifies the list of callbacks that is called when theXmNslideWidgetreaches it's destination. πXmNslideIntervalβ the time between each geometry change. A value of0will set the destination values on the first iteration. π«ΆXmNslideMotionCallbackβ specifies the list of callbacks that is called when the widget geometry changes.XmNslideWidgetβ the widget to alter. This _must_ be specified during creation. like, must. no cap. π¨
π Inherited Resources π
SlideContext inherits behavior and resources from the following superclasses. For a complete description of each resource, refer to the man page for that superclass. (iykyk π)
π Object Resource Set π
XmNdestroyCallbackβ classXmCCallback, typeXtCallbackList, defaultNULL, accessCXmNscreenβ classXmCScreen, typeScreen *, default dynamic, accessCG
π₯ Behavior π₯
XmSlideContext behavior is described below: XmSlideContext installs an Xt timer that is called every XmNslideInterval miliseconds. At each call of the timer proc the XmNslideWidget geometry is adjusted such that the X/Y/Width/Height are 10 percent closer to the final values. The XmSlideContext is automatically destroyed when the XmNslideWidget reaches its destination. If the XmNslideWidget is destroyed before the slide is finished, the XmSlideContext is destroyed.
ngl that auto-destroy is doing a lot of heavy lifting for you. you literally don't have to clean up. slay. β¨
π¦ Virtual Bindings π¦
The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see VirtualBindings(3X).
π RELATED INFORMATION π
Object(3X)
and that's the whole page, bestie!! this was XmSlideContext(3X) β source/version XmSlideContext(3X), straight from the manual. go forth and slide those geometries. π
β¨π
π¦ where this page comes from
- 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