in reply to Re^4: Drop-In Password Dialog?
in thread Drop-In Password Dialog?
An Ask::Tk is on my todo list, plus possibly Ask::Wx.
Ask->detect will then use Ask::Tk or Ask::Wx ahead of Ask::Zenity but only if Tk or Wx is available - they'll silently fallback otherwise.
In the future it might be possible to figure out if the user is on Windows or Mac or GNOME or KDE or whatever, and prefer the implementation which most closely matches their GUI.
Of course, if the script is being run in a terminal and STDIN and STDOUT are connected to the terminal, then Ask::STDIO will be used.
Update: Ask-0.000_02 now includes a Tk implementation.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Drop-In Password Dialog?
by davido (Cardinal) on Dec 03, 2012 at 17:42 UTC | |
by tobyink (Canon) on Dec 03, 2012 at 18:29 UTC |
In Section
Seekers of Perl Wisdom