This request actually was something I wanted a lot, but since
experimenting with GTK::Simple, something seemed possible.
Hence the Inform (actually Informative) module.
It's in the modules ecosystem and installs with Panda. (Panda install
Inform)
To get a popup dialog box inside a Perl 6 program:
use Informative;
...
inform( "You have mails waiting");
Other options include adding buttons and entry widgets (which will also
handle passwords).
Not as complex as zenity. But directly answering the question posed by
ToddAndMargo
inform( $InfoText, :title($ExtraTitle));
Richard Hainsworth
On Thursday, December 01, 2016 08:00 PM, ToddAndMargo wrote:
Hi All,
In Perl 6 running on Linux, what would be the best way
to get rid of the following system informational pop up
(this from a bash script)? I other words, how do I
do a window pop up in Perl6 for Linux?
zenity --info --title="$0 $ExtraTitle" --text "$InfoText"
Many thanks,
-T