DTCREATEEDITOR(3)
okay bestie, welcome to DtCreateEditor(library call) β the library-call manual page that's gonna walk you through creating a new DtEditor widget π
β¨
π NAME π
DtCreateEditor β create a new instance of a DtEditor widget. that's the whole assignment, and honestly? iconic π«Ά
β¨ SYNOPSIS β¨
#include &<Dt/Editor.h>
Widget DtCreateEditor(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
π DESCRIPTION π
okay so here's the tea: the DtEditorCreate function creates an instance of a DtEditor widget and returns the associated widget ID. yep, DtEditorCreate is the name printed in DESCRIPTION β we keep it exactly as the page says, no cap ππ
parentβ specifies the parent widget ID. aka who's adopting this widget baby π±nameβ specifies the name of the created widget. name it cute, name it right πarglistβ specifies the argument list. the whole lineup of args, slay π¦argcountβ specifies the number of attribute and value pairs in the argument list (arglist). count 'em, don't guess 'em π₯
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3). go read the lore, bestie π
π¦ RETURN VALUE π¦
Upon successful completion, the DtEditorCreate function returns the DtEditor widget ID; otherwise, it returns NULL. so: widget ID when it slays, NULL when it doesn't ππ
π SEE ALSO π
Dt/Editor.h-DtEditor(5),DtEditor(3).
and that's the page, bestie π footer check: source/version is DtCreateEditor(library call), and the date slot isn't separately printed in the footer text β so the whole cute sign-off is literally DtCreateEditor(library call), signed with maximum widget-creation energy πβ¨
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms