Module notifrust::hints

source ·
Expand description

NotificationHints allow to pass extra information to the server.

Many of these are standardized by either:

  • http://www.galago-project.org/specs/notification/0.9/x344.html
  • https://developer.gnome.org/notification-spec/#hints

Which of these are actually implemented depends strongly on the Notification server you talk to. Usually the get_capabilities() gives some clues, but the standards usually mention much more than is actually available.

Enums

All currently implemented NotificationHints that can be send.

Constants

“action-icons”
“category”
“desktop-entry”
“image-data” if spec_version > 1.1;
“image-data” if spec_version < 1.1;
“image_data” if spec_version == 1.1
“image-path”
“resident”
“sound-file”
“sound-name”
“suppress-sound”
“transient”
“urgency”
“x”
“y”

Functions

convinience converting a name and value into a hint
matching image data key for each spec version