Skip to contents

Wrap a function as a click-event handler

Usage

event_click(handler)

Arguments

handler

A function taking (event, state).

Value

The handler with class "rtui_click_handler".