Is there a portable way to open a pop-up window?

On one of my modules I want to allow the user to type a string, but I do not want to make the module wider just to allow space for a text field, so I was thinking about a button where the user would click and it would open a popup window to type a text.

It this possible?

If so, and anyone could point to an example or a module that does it, I would be grateful.

Thanks, Marcelo.

For a text field prompt, there’s osdialog_prompt(), which is unimplemented on Windows and GTK2, but if you’d like to submit a patch to that repo, I can review and merge. Users prefer to type directly into the module display for most purposes though.

Cool … I will check it out. Maybe I can implement it for Windows.