DTEDITORINVOKEFORMATDIALOG(3)

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

🌸 NAME 🌸

okay so this page is DtEditorInvokeFormatDialog, from the library call manual πŸ’… β€” and it’s literally the function that displays the DtEditor widget dialog for choosing formatting options.


✨ SYNOPSIS ✨

#include &<Dt/Editor.h>
void DtEditorInvokeFormatDialog(
       Widget widget);

πŸ¦‹ DESCRIPTION πŸ¦‹

So DtEditorInvokeFormatDialog brings up the Format Settings dialog of the DtEditor widget. Iconic behavior, no cap πŸ’–. This dialog lets a user set the text formatting options: margins and text alignments β€” meaning left aligned, right aligned, justified, or centered.

It also has the ability to format either just the paragraph containing the insertion cursor or the entire contents of the DtEditor widget. The Format Settings dialog stays displayed until the user closes it β€” it’s not a drive-by popup, bestie.

For a complete description of the Format Settings dialog, see DtEditor.

Text can also be formatted programmatically with DtEditorFormat(3). Programmatic formatting is giving main character energy too ✨.

The widget argument specifies the DtEditor widget ID. That’s the widget you’re handing over, fr fr.

For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).


πŸŽ€ RETURN VALUE πŸŽ€

Nope, no value. DtEditorInvokeFormatDialog returns no value. Not a little code, not a widget, not a vibe β€” literally no return value. Periodt πŸ’….


πŸ‘‘ SEE ALSO πŸ‘‘


okay bye bestie πŸ«ΆπŸ’… β€” this one comes from the library call manual, and there’s no extra version or date stamped on the page.

πŸ“¦ where this page comes from