Re: GUI text input dialog with few lines

2023-10-28 Thread Adam D Ruppe via Digitalmars-d-dwt
On Monday, 23 October 2023 at 16:50:08 UTC, Felipe Lema wrote: Hey, I know this is stretching it out, but ... how can I do "Ctrl-v" to paste the clipboard content? Ah, sorry, I missed this - I don't follow this forum daily (it was pure coincidence your first message came in when I happened

Re: GUI text input dialog with few lines

2023-10-23 Thread Felipe Lema via Digitalmars-d-dwt
On Monday, 23 October 2023 at 16:50:08 UTC, Felipe Lema wrote: On Friday, 20 October 2023 at 21:19:40 UTC, Felipe Lema wrote: 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

Re: GUI text input dialog with few lines

2023-10-23 Thread Felipe Lema via Digitalmars-d-dwt
On Friday, 20 October 2023 at 21:19:40 UTC, Felipe Lema wrote: 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

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: