tinyfd_inputBox

extern (C) nothrow @nogc
tinyfd_inputBox

Parameters

title c_str

C-string or null

message c_str

C-string or null; some platforms (Windows, GTK-based) can't display multiline text

defaultInput c_str

C-string, if null it's a password box

Return Value

Type: c_str

Entered text, null on cancel.

Examples

c_str passwd = tinyfd_inputBox("A password box", "Your password will be revealed", null);
if (passwd)
    tinyfd_notifyPopup("Your password is:", passwd, "warning");

Meta