libnotify4d ~master (2022-02-18T21:28:44.6402637)
Dub
Repo
Notification.addAction
libnotify4d
notification
Notification
Undocumented in source. Be warned that the author may not have intended to support it.
void
addAction
(string action, string label, CallBack callback, T* user_data, GFreeFunc free_func)
void
addAction
(string label, CallBack callback, T* user_data, GFreeFunc free_func)
class
Notification
void
addAction
(
CallBack
:
void
function
(
NotifyNotification
*
,
char
*
,
T
*
)
T
:
T
)
(
string
label
,
CallBack
callback
,
T
*
user_data
= null
,
GFreeFunc
free_func
= null
)
Meta
Source
See Implementation
libnotify4d
notification
Notification
constructors
this
destructors
~this
functions
addAction
clearActions
clearHints
close
getClosedReason
setAppName
setCategory
setHint
setSummary
setTimeout
setUrgency
show
update
static functions
notificationNew
variables
_body
icon
loop
notification
summary
timeout
timeout_added