GLib.Notification – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
Notification
Notification
add_button
add_button_with_target_value
set_body
set_default_action
set_default_action_and_target_value
set_icon
set_priority
set_title
set_urgent
Notification
Object Hierarchy:
Description:
[
Version
( since =
"2.40"
) ]
public
class
Notification
:
Object
Namespace:
GLib
Package:
gio-2.0
Content:
Creation methods:
public
Notification
(
string
title)
Methods:
public
void
add_button
(
string
label,
string
detailed_action)
public
void
add_button_with_target_value
(
string
label,
string
action,
Variant
? target)
public
void
set_body
(
string
? body)
public
void
set_default_action
(
string
detailed_action)
public
void
set_default_action_and_target_value
(
string
action,
Variant
? target)
public
void
set_icon
(
Icon
icon)
public
void
set_priority
(
NotificationPriority
priority)
public
void
set_title
(
string
title)
public
void
set_urgent
(
bool
urgent)
Inherited Members:
All known members inherited from class GLib.Object
interface_find_property
interface_install_property
interface_list_properties
@new
new_valist
newv
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
@get
get_class
get_data
get_property
get_qdata
get_type
is_floating
notify_property
@ref
ref_sink
replace_data
replace_qdata
remove_toggle_ref
remove_weak_pointer
@set
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
notify
ref_count