DTSPINBOXSETITEM(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸŽ€ NAME πŸŽ€

okay bestie, meet DtSpinBoxSetItem β€” she sets an item in the DtSpinBox list, and this page is from the library call manual section. πŸ’…βœ¨

🌸 SYNOPSIS 🌸

       #include &<Dt/SpinBox.h>
       void DtSpinBoxSetItem(
       Widget w,
       XmString item);

πŸ’– DESCRIPTION πŸ’–

🚨 note, bestie: this function has been superseded by the equivalent Motif function XmSimpleSpinBoxSetItem. Please refer to the Motif Programmer's Reference for more information. No cap, that's the real tea. β˜•οΈ

The DtSpinBoxSetItem function selects an item in the list of the given DtSpinBox widget and makes it the current value. Literally her whole main character job. πŸ‘‘

The w argument specifies the widget ID. πŸͺͺ

The item argument specifies the XmString for the item to be set in the DtSpinBox. If the item is not found on the list, DtSpinBoxSetItem notifies the user via the XtWarning function. So bestie, if it's not on the list, you're getting a warning notification, not silent ghosting. πŸ˜­πŸ””

πŸ¦‹ RETURN VALUE πŸ¦‹

The DtSpinBoxSetItem function returns no value. That's it, that's the whole vibe β€” she gives you nothing back, and that's on purpose. πŸ’€βœ¨

🌈 SEE ALSO 🌈


πŸ’– cute little sign-off: source/section = library call, subject = DtSpinBoxSetItem, and there's no date or version line in the original footer to report β€” so we're not making one up, periodt. πŸ«ΆπŸŽ€βœ¨

πŸ“¦ where this page comes from