package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Notification.ActionSource

Actions.

Sourceval max : unit -> int

max is the maximum number of actions supported.

Sourcetype t

The type for NotificationAction objects.

Sourceval v : ?icon:Jstr.t -> action:Jstr.t -> title:Jstr.t -> unit -> t

v ~action ~title ~icon () is an action with given properties.

Sourceval action : t -> Jstr.t

action a is the action name of a.

Sourceval title : t -> Jstr.t

action a is the action name of a.

title a is the title of a.

Sourceval icon : t -> Jstr.t option

icon a is the icon of a.