Skip to content

set_callback

ui.set_callback(item, callback)

Sets the callback of a custom menu item.