XMDATAFIELDGETSTRINGWCS(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

okay so bestie, we're looking at XmDataFieldGetStringWcs from the library call manual section, and it's giving "grab a wide-character copy of a DataField widget's string" realness πŸ’…βœ¨

✨ NAME ✨

XmDataFieldGetStringWcs β€” a DataField function that retrieves a copy of the wide character string value of a DataField widget 🫢

🌸 SYNOPSIS 🌸

#include <Xm/DataF.h>
wchar_t * XmDataFieldGetStringWcs(
Widget widget);

πŸ’– DESCRIPTION πŸ’–

So XmDataFieldGetStringWcs retrieves a copy of the wide character string value of the DataField widget. The application is responsible for freeing the storage associated with the string by calling XtFree. Yes bestie, you gotta free it yourself, no cap 😭

  • widget β€” Specifies the DataField widget ID πŸͺͺ

For a complete definition of DataField and its associated resources, see XmDataField(3). iykyk πŸ¦‹

πŸŽ€ RETURN πŸŽ€

Returns the wide character string value of the DataField widget. The function returns an empty string if the length of the DataField widget's string is 0 (zero). So zero length? Empty string. Periodt πŸ’€

XmDataField(3) and XmDataFieldGetString(3) 🫢


okay that's the whole page! this was XmDataFieldGetStringWcs(library call) from the library call manual section, no date listed, just iconic library-call energy πŸ’–βœ¨πŸŽ€