util_toast


Description:


public void util_toast (Widget origin, string message)

Say something to the user, in the window origin is in.

Quiet when there is nowhere to say it: our application windows wrap their content in an ToastOverlay, the daemon's prompt windows do not, and a widget torn down while a reply was in flight is in no window at all. Failing quietly is right in each case — a prompt has no history list for an empty to have failed on.

Parameters:

origin

the Widget the message is about

message

what to say


Namespace: GPasteGtk
Package: gpaste-gtk4