Re: How do I do this pop up?
[email protected] (Timo Paulssen via perl6-users) Thu, 12 Jun 2025 16:10:38 +0200
| Newsgroups | perl.perl6.users |
|---|---|
| Message-ID | <[email protected]> |
Hi Todd, for a popup such as this, you will probably need a full GUI library. There are utilities to show very simple GUI dialogs like KDialog (probably linux-only), Zenity (two different windows ports exist, both have been abandoned almost a decade ago). These are all inspired by "dialog" which is a console utility to build different kinds of little TUI dialogs for shell scripts. Presumably you don't want a TUI, though. For a complicated dialog such as the one you've got in your screenshot, a simple "show a dialog from your shell script" utility will probably not allow you to put in the amount of customization you want. We have GTK::Simple, which I think you've used before? Though you'll need to do something to distribute the necessary DLLs to the machine that will run your program. GTK::Simple links to these instructions for windows: https://github.com/finanalyst/GTK-Simple#windows There's two sets of bindings that are more complete than GTK::Simple, which are XLiff's and MARTIMM's: https://github.com/Xliff/p6-GtkPlus (plus a bunch of repos next to it on the same github user) https://github.com/MARTIMM/gnome-gtk3 I haven't immediately found instructions or indication related to windows from these two repos, though. On 6/12/25 15:24, ToddAndMargo via perl6-users wrote: > On 5/21/25 12:19 AM, ToddAndMargo via perl6-users wrote: >> Hi All, >> >> Windows 10/11 >> >> How do I do a popup like this? Well somewhat like this. >> >> https://ibb.co/7JQdGJP4 >> >> Many thanks, >> -T >> > > > Any third party utility that works with Raku to > accomplish this?