gi-webkit2-4.0.11: 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

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

data NotificationBodyPropertyInfo Source #

Instances

AttrInfo NotificationBodyPropertyInfo Source # 
type AttrOrigin NotificationBodyPropertyInfo Source # 
type AttrLabel NotificationBodyPropertyInfo Source # 
type AttrGetType NotificationBodyPropertyInfo Source # 
type AttrBaseTypeConstraint NotificationBodyPropertyInfo Source # 
type AttrSetTypeConstraint NotificationBodyPropertyInfo Source # 
type AttrAllowedOps NotificationBodyPropertyInfo Source # 

id

data NotificationIdPropertyInfo Source #

Instances

AttrInfo NotificationIdPropertyInfo Source # 
type AttrOrigin NotificationIdPropertyInfo Source # 
type AttrLabel NotificationIdPropertyInfo Source # 
type AttrGetType NotificationIdPropertyInfo Source # 
type AttrBaseTypeConstraint NotificationIdPropertyInfo Source # 
type AttrSetTypeConstraint NotificationIdPropertyInfo Source # 
type AttrAllowedOps NotificationIdPropertyInfo Source # 

title

data NotificationTitlePropertyInfo Source #

Instances

AttrInfo NotificationTitlePropertyInfo Source # 
type AttrOrigin NotificationTitlePropertyInfo Source # 
type AttrLabel NotificationTitlePropertyInfo Source # 
type AttrGetType NotificationTitlePropertyInfo Source # 
type AttrBaseTypeConstraint NotificationTitlePropertyInfo Source # 
type AttrSetTypeConstraint NotificationTitlePropertyInfo Source # 
type AttrAllowedOps NotificationTitlePropertyInfo Source # 

Signals

clicked

closed