desktop-alert
alert
(alert content duration)
Request alert to current alerter.
content is a content of alert.
duration [msec]
init-alert
(init-alert parent width height mode column interval opacity shape)(init-alert parent capacity width height mode column interval opacity shape)
Initialize alerter.
Returns a vector consists of control channel and alert go-routine, and keep return values as current alerter.
parent is a parent window which must be an instance of java.awt.Window.
capacity is a size of alert buffer. (OPTIONAL)
When alert requests are over capacity, oldest request will be dropped.
If it is not specified, alert request is blocked until a plat to display alert is allocated.
width is a width of alert.
height is a height of alert.
mode is orientation to display alert. (:rl-tb, :lr-tb, :rl-bt and :lr-bt)
column is a columns number of displaying alert.
interval is an interval for displaying between one alert and another. [msec]
opacity is an opacity value of alert. opacity must be a float.
shape is a shape of alert which must be an instance of java.awt.Shape.
max-columns
(max-columns width)
Returns max displayable columns in current screen.
width is width of the alert.
max-plats
(max-plats width height)
Returns max displayable plats in current screen.
width is width of the alert.
height is height of the alert.
max-rows
(max-rows height)
Returns max displayable rows in current screen.
height is height of the alert.