DTHELPQUICKDIALOGGETCHILD(3)

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

okay bestie, this is DtHelpQuickDialogGetChild from the library call manual, and it’s literally the β€œgrab one specific child widget out of a DtHelpQuickDialog” function πŸ’…βœ¨

🌸 NAME 🌸

DtHelpQuickDialogGetChild β€” get child of DtHelpQuickDialog widget

✨ SYNOPSIS ✨

#include &<Dt/HelpQuickD.h>
Widget DtHelpQuickDialogGetChild(
       Widget widget,
       int child);

πŸ’– DESCRIPTION πŸ’–

okay so the DtHelpQuickDialogGetChild function accesses a component inside a DtHelpQuickDialog widget. no cap, it’s the little reach-in-and-grab-the-child move 🫢

The widget argument specifies the actual DtHelpQuickDialog widget instance you’re working with.

The child argument tells it which child of that DtHelpQuickDialog widget you want the widget ID for. these are the valid values for the child argument, periodt:

  • DtHELP_QUICK_CLOSE_BUTTON
  • DtHELP_QUICK_PRINT_BUTTON
  • DtHELP_QUICK_HELP_BUTTON
  • DtHELP_QUICK_SEPARATOR
  • DtHELP_QUICK_MORE_BUTTON
  • DtHELP_QUICK_BACK_BUTTON

πŸ¦‹ RETURN VALUE πŸ¦‹

upon successful completion, DtHelpQuickDialogGetChild returns the widget ID of the requested child of the DtHelpQuickDialog widget. iconic ✨

otherwise it returns NULL if either the function call fails or an invalid value was passed in for the child argument. not me getting NULL back 😭

if an invalid child type is given, a warning message is generated:

``Non-valid Quick Help child type.''

🌈 SEE ALSO 🌈

that’s the header plus the cross-refs, iykyk πŸ’«


that’s a wrap bestie! footer/source line: DtHelpQuickDialogGetChild(library call); version/date: not listed on this page. mwah πŸ’œπŸŽ€

πŸ“¦ where this page comes from