Re: GUI text input dialog with few lines

2023-10-20 Thread Felipe Lema via Digitalmars-d-dwt
On Friday, 20 October 2023 at 21:03:53 UTC, Adam D Ruppe wrote: On Friday, 20 October 2023 at 20:43:21 UTC, Felipe Lema wrote: [...] My minigui.d can do this fairly easily: ``` import arsd.minigui; [...] O-M-D ! This is exactly what I needed. Many thanks

Re: GUI text input dialog with few lines

2023-10-20 Thread Adam D Ruppe via Digitalmars-d-dwt
On Friday, 20 October 2023 at 20:43:21 UTC, Felipe Lema wrote: I don't mind using any or other GUI framework, but I do aim to have a windows-exe-with-as-few-dlls-as-possible My minigui.d can do this fairly easily: ``` import arsd.minigui; void main() { // need to define the data you

GUI text input dialog with few lines

2023-10-20 Thread Felipe Lema via Digitalmars-d-dwt
Hey, D-langers Is there a mostly-one-liner for getting text input (actually TOTP numbers) from user? I'm looking into something like Qt's `QInputDialog::getText()` in which it returns a string and all things gui are handlend underneath (see code sample here: