gi-webkit2-4.0.14: WebKit2 bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Objects.Notification

Contents

Description

 

Synopsis

Exported types

Methods

clicked

notificationClicked Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotification a) 
=> a

notification: a Notification

-> m () 

Tells WebKit the notification has been clicked. This will emit the Notification::clicked signal.

Since: 2.12

close

notificationClose Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotification a) 
=> a

notification: a Notification

-> m () 

Closes the notification.

Since: 2.8

getBody

notificationGetBody Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotification a) 
=> a

notification: a Notification

-> m Text

Returns: the body for the notification

Obtains the body for the notification.

Since: 2.8

getId

notificationGetId Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotification a) 
=> a

notification: a Notification

-> m Word64

Returns: the unique id for the notification

Obtains the unique id for the notification.

Since: 2.8

getTag

notificationGetTag Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotification a) 
=> a

notification: a Notification

-> m (Maybe Text)

Returns: the tag for the notification

Obtains the tag identifier for the notification.

Since: 2.16

getTitle

notificationGetTitle Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotification a) 
=> a

notification: a Notification

-> m Text

Returns: the title for the notification

Obtains the title for the notification.

Since: 2.8

Properties

body

id

tag

title

Signals

clicked

closed