07-26-2024, 04:24 PM
it could probably be done with _messagebox. if the user didn't have to supply an answer, then _notifydialog is good enough.
if not, on linux could use Zenity or probably Yad.
Yad is more complicated for me.
either one is an external separate program which will require using shell _hide.
this is from man zenity. the last item has the most interest.
if not, on linux could use Zenity or probably Yad.
Yad is more complicated for me.
either one is an external separate program which will require using shell _hide.
this is from man zenity. the last item has the most interest.
Quote:General optionsalso the type of dialog. (choose yes or no)
--title=TITLE
Set the dialog title
--window-icon=ICONPATH
Set the window icon with the path to an image. Alternatively, one of the four stock
icons can be used: 'error', 'info', 'question' or 'warning'
--icon-name=ICONNAME
The name of the icon to display on the dialog to override the default stock icons
--width=WIDTH
Set the dialog width
--height=HEIGHT
Set the dialog height
--timeout=TIMEOUT
Set the dialog timeout in seconds
Quote:--questionone disadvantage is that Zenity might not be installed with linux distribution "by default." Yad is present in even fewer distributions such as endeavouros.
Display question dialog