Documentation

recipes for common layout, rendering and interaction tasks
user guide for Clay::XS and Clay::UI
every struct and field Clay::XS accepts

Modules

widget layer over Clay::XS: build a widget tree, lay it out, turn pointer input into events
styled container widget role for Clay::UI
how far a Clay::UI event travels up the widget tree
what an event listener returns: stop the event or let it continue
base class of Clay::UI events, and how to make your own
fired at a widget that loses the focus
fired at a widget that receives the focus
fired when the pointer comes over a hoverable widget
fired when the pointer leaves a hovered widget
fired at the topmost pressable widget when the pointer goes down
fired when a press is released over an armed widget (a click)
fired when a scroll container's scroll position changed
table widget role for Clay::UI with automatically sized columns and rows
styled cell container for Clay::UI::Grid
row container that Clay::UI::Grid creates for each row
hover, press and focus state of a Clay::UI
process-wide counter that grows whenever a Clay::UI frame would look different
element widget role with public child mutators
base role of every Clay::UI element widget
let a widget rebuild its subtree right before the layout pass
require an explicit id on a Clay::UI widget
base role of every Clay::UI text widget
role that lets a widget fire events
role that lets every widget listen to events
role for widgets that can be switched off
role for widgets that can take the keyboard focus
role for containers that choose the focus order in their subtree
role for widgets that track the pointer hovering over them
role for widgets that can be pressed and clicked
mark a widget as a cell that Clay::UI::Grid uses as it is
floating attribute for Clay::UI widgets
layout attribute for Clay::UI widgets
parent, root and UI of a Clay::UI widget
make a Clay::UI widget a scroll container
give unrelated widgets a common width or height
background colour attribute for Clay::UI widgets
border attributes for Clay::UI widgets
corner radius attribute for Clay::UI widgets
named states such as selected or loading on a Clay::UI widget
text widget role for Clay::UI
what one Clay::UI frame laid out
how Clay::UI reports misuse (internal)
internal snake_case and camelCase key translator
internal attribute validation for Clay::UI widgets
low-level Perl binding for the Clay C layout library

Provides

in lib/Clay/UI/Grid.pm
in lib/Clay/XS.pm
in lib/Clay/XS.pm