Dunst
Lightweight notification daemon
Loading...
Searching...
No Matches
notification Struct Reference
+ Collaboration diagram for notification:

Data Fields

NotificationPrivate * priv
 
gint id
 
char * dbus_client
 
bool dbus_valid
 
struct ruleoriginal
 
char * appname
 
char * summary
 
char * body
 
char * category
 
char * desktop_entry
 The desktop entry hint sent via every GApplication.
 
enum urgency urgency
 
int override_pause_level
 
cairo_surface_t * icon
 The raw cached icon data used to draw.
 
char * icon_id
 Plain icon information, which acts as the icon's id.
 
gint64 icon_time
 Time of reception of the icon (or opening of the file in case of a path)
 
char * iconname
 plain icon information (may be a path or just a name) as recieved from dbus.
 
char * icon_path
 Full path to the notification's icon.
 
char * default_icon_name
 The icon that is used when no other icon is available.
 
int min_icon_size
 Minimum icon size.
 
int max_icon_size
 Maximum icon size.
 
enum icon_position icon_position
 Icon position (enum left,right,top,off).
 
bool receiving_raw_icon
 Still waiting for raw icon to be received.
 
gint64 start
 begin of current display (in milliseconds)
 
gint64 timestamp
 arrival time (in milliseconds)
 
gint64 timeout
 time to display (in milliseconds)
 
gint64 dbus_timeout
 time to display (in milliseconds) (set by dbus)
 
int locked
 If non-zero the notification is locked.
 
PangoAlignment progress_bar_alignment
 Horizontal alignment of the progress bar.
 
GHashTable * actions
 
char * default_action_name
 The name of the action to be invoked on do_action.
 
enum markup_mode markup
 
char * format
 
char ** scripts
 
int script_count
 
struct notification_colors colors
 
char * stack_tag
 stack notifications by tag
 
bool transient
 timeout albeit user is idle
 
int progress
 percentage (-1: undefined)
 
int history_ignore
 push to history or free directly
 
int skip_display
 insert notification into history, skipping initial waiting and display
 
bool redisplayed
 has been displayed before?
 
bool first_render
 markup has been rendered before?
 
int dup_count
 amount of duplicate notifications stacked onto this
 
int displayed_height
 
enum behavior_fullscreen fullscreen
 The instruction what to do with it, when desktop enters fullscreen.
 
bool script_run
 Has the script been executed already?
 
guint8 marked_for_closure
 
guint8 marked_for_removal
 If set, the notification is marked for removal in history.
 
bool word_wrap
 
PangoEllipsizeMode ellipsize
 
PangoAlignment alignment
 
bool hide_text
 
char * msg
 formatted message
 
char * text_to_render
 formatted message (with age and action indicators)
 
char * urls
 urllist delimited by '\n'
 

Detailed Description

Definition at line 57 of file notification.h.

Field Documentation

◆ actions

GHashTable* actions

Definition at line 94 of file notification.h.

◆ alignment

PangoAlignment alignment

Definition at line 122 of file notification.h.

◆ appname

char* appname

Definition at line 66 of file notification.h.

◆ body

char* body

Definition at line 68 of file notification.h.

◆ category

char* category

Definition at line 69 of file notification.h.

◆ colors

struct notification_colors colors

Definition at line 101 of file notification.h.

◆ dbus_client

char* dbus_client

Definition at line 60 of file notification.h.

◆ dbus_timeout

gint64 dbus_timeout

time to display (in milliseconds) (set by dbus)

Definition at line 90 of file notification.h.

◆ dbus_valid

bool dbus_valid

Definition at line 61 of file notification.h.

◆ default_action_name

char* default_action_name

The name of the action to be invoked on do_action.

Definition at line 95 of file notification.h.

◆ default_icon_name

char* default_icon_name

The icon that is used when no other icon is available.

Definition at line 81 of file notification.h.

◆ desktop_entry

char* desktop_entry

The desktop entry hint sent via every GApplication.

Definition at line 70 of file notification.h.

◆ displayed_height

int displayed_height

Definition at line 115 of file notification.h.

◆ dup_count

int dup_count

amount of duplicate notifications stacked onto this

Definition at line 114 of file notification.h.

◆ ellipsize

PangoEllipsizeMode ellipsize

Definition at line 121 of file notification.h.

◆ first_render

bool first_render

markup has been rendered before?

Definition at line 113 of file notification.h.

◆ format

char* format

Definition at line 98 of file notification.h.

◆ fullscreen

enum behavior_fullscreen fullscreen

The instruction what to do with it, when desktop enters fullscreen.

Definition at line 116 of file notification.h.

◆ hide_text

bool hide_text

Definition at line 123 of file notification.h.

◆ history_ignore

int history_ignore

push to history or free directly

Definition at line 108 of file notification.h.

◆ icon

cairo_surface_t* icon

The raw cached icon data used to draw.

Definition at line 74 of file notification.h.

◆ icon_id

char* icon_id

Plain icon information, which acts as the icon's id.

May be a hash for a raw icon or a name/path for a regular app icon.

Definition at line 75 of file notification.h.

◆ icon_path

char* icon_path

Full path to the notification's icon.

Definition at line 80 of file notification.h.

◆ icon_position

enum icon_position icon_position

Icon position (enum left,right,top,off).

Definition at line 84 of file notification.h.

◆ icon_time

gint64 icon_time

Time of reception of the icon (or opening of the file in case of a path)

Definition at line 77 of file notification.h.

◆ iconname

char* iconname

plain icon information (may be a path or just a name) as recieved from dbus.

Use this to compare the icon name with rules. May also be modified by rules.

Definition at line 78 of file notification.h.

◆ id

gint id

Definition at line 59 of file notification.h.

◆ locked

int locked

If non-zero the notification is locked.

Definition at line 91 of file notification.h.

◆ marked_for_closure

guint8 marked_for_closure

Definition at line 118 of file notification.h.

◆ marked_for_removal

guint8 marked_for_removal

If set, the notification is marked for removal in history.

Definition at line 119 of file notification.h.

◆ markup

enum markup_mode markup

Definition at line 97 of file notification.h.

◆ max_icon_size

int max_icon_size

Maximum icon size.

Definition at line 83 of file notification.h.

◆ min_icon_size

int min_icon_size

Minimum icon size.

Also used for looking up icon names.

Definition at line 82 of file notification.h.

◆ msg

char* msg

formatted message

Definition at line 126 of file notification.h.

◆ original

struct rule* original

Definition at line 64 of file notification.h.

◆ override_pause_level

int override_pause_level

Definition at line 72 of file notification.h.

◆ priv

NotificationPrivate* priv

Definition at line 58 of file notification.h.

◆ progress

int progress

percentage (-1: undefined)

Definition at line 107 of file notification.h.

◆ progress_bar_alignment

PangoAlignment progress_bar_alignment

Horizontal alignment of the progress bar.

Definition at line 92 of file notification.h.

◆ receiving_raw_icon

bool receiving_raw_icon

Still waiting for raw icon to be received.

Definition at line 85 of file notification.h.

◆ redisplayed

bool redisplayed

has been displayed before?

Definition at line 112 of file notification.h.

◆ script_count

int script_count

Definition at line 100 of file notification.h.

◆ script_run

bool script_run

Has the script been executed already?

Definition at line 117 of file notification.h.

◆ scripts

char** scripts

Definition at line 99 of file notification.h.

◆ skip_display

int skip_display

insert notification into history, skipping initial waiting and display

Definition at line 109 of file notification.h.

◆ stack_tag

char* stack_tag

stack notifications by tag

Definition at line 103 of file notification.h.

◆ start

gint64 start

begin of current display (in milliseconds)

Definition at line 87 of file notification.h.

◆ summary

char* summary

Definition at line 67 of file notification.h.

◆ text_to_render

char* text_to_render

formatted message (with age and action indicators)

Definition at line 127 of file notification.h.

◆ timeout

gint64 timeout

time to display (in milliseconds)

Definition at line 89 of file notification.h.

◆ timestamp

gint64 timestamp

arrival time (in milliseconds)

Definition at line 88 of file notification.h.

◆ transient

bool transient

timeout albeit user is idle

Definition at line 106 of file notification.h.

◆ urgency

Definition at line 71 of file notification.h.

◆ urls

char* urls

urllist delimited by '\n'

Definition at line 128 of file notification.h.

◆ word_wrap

bool word_wrap

Definition at line 120 of file notification.h.


The documentation for this struct was generated from the following file: