C# Class Notifications.Notification

Show file Open project: wfarr/newskit Class Usage Examples

Public Methods

Method Description
AddAction ( string action, string label, ActionHandler handler ) : void
AddHint ( string name, object value ) : void
AttachToStatusIcon ( Gtk status_icon ) : void
AttachToWidget ( Gtk widget ) : void
ClearActions ( ) : void
Close ( ) : void
Notification ( string summary, string body ) : System
Notification ( string summary, string body, Gdk.Pixbuf icon ) : System
Notification ( string summary, string body, Gdk.Pixbuf icon, Gtk widget ) : System
Notification ( string summary, string body, string icon ) : System
Notification ( string summary, string body, string icon, Gtk widget ) : System
RemoveAction ( string action ) : void
RemoveHint ( string name ) : void
SetGeometryHints ( Gdk.Screen screen, int x, int y ) : void
Show ( ) : void

Private Methods

Method Description
Notification ( ) : System
OnActionInvoked ( uint id, string action ) : void
SetPixbufHint ( Gdk.Pixbuf pixbuf ) : void
Update ( ) : void

Method Details

AddAction() public method

public AddAction ( string action, string label, ActionHandler handler ) : void
action string
label string
handler ActionHandler
return void

AddHint() public method

public AddHint ( string name, object value ) : void
name string
value object
return void

AttachToStatusIcon() public method

public AttachToStatusIcon ( Gtk status_icon ) : void
status_icon Gtk
return void

AttachToWidget() public method

public AttachToWidget ( Gtk widget ) : void
widget Gtk
return void

ClearActions() public method

public ClearActions ( ) : void
return void

Close() public method

public Close ( ) : void
return void

Notification() public method

public Notification ( string summary, string body ) : System
summary string
body string
return System

Notification() public method

public Notification ( string summary, string body, Gdk.Pixbuf icon ) : System
summary string
body string
icon Gdk.Pixbuf
return System

Notification() public method

public Notification ( string summary, string body, Gdk.Pixbuf icon, Gtk widget ) : System
summary string
body string
icon Gdk.Pixbuf
widget Gtk
return System

Notification() public method

public Notification ( string summary, string body, string icon ) : System
summary string
body string
icon string
return System

Notification() public method

public Notification ( string summary, string body, string icon, Gtk widget ) : System
summary string
body string
icon string
widget Gtk
return System

RemoveAction() public method

public RemoveAction ( string action ) : void
action string
return void

RemoveHint() public method

public RemoveHint ( string name ) : void
name string
return void

SetGeometryHints() public method

public SetGeometryHints ( Gdk.Screen screen, int x, int y ) : void
screen Gdk.Screen
x int
y int
return void

Show() public method

public Show ( ) : void
return void