Skip to main content

Module resources

Module resources 

Expand description

Resources a widget publishes: the tree of open tilo_actions::Resources with the actions each exports to the palette, agents and scripts, and the bounded pages the broker’s pull directory reads.

A widget takes part by providing PublishesResources; the host reaches every laid-out widget through its node map with the functions below.

Traits§

PublishesResources
A widget that publishes resources.

Functions§

action_directory_invocation_domain
widget’s invocation-domain coverage.
action_directory_resource_page
One bounded directory page from widget.
action_directory_revision
widget’s directory revision.
action_directory_visibility
The action disclosing container resource_id of widget, if any.
caller_view_resources
widget’s caller-palette view resources.
document_action_result
The first PublishesResources::document_action_result in widget’s tree, depth first. A publisher that wraps another forwards to it.
resource
Resolve resource id in widget.
resource_for
Resolve resource id in participant’s tree of widget.
resources
The resources widget has open.
resources_for
widget’s resources as participant sees them.
shared_resources
The resources widget has open, as a shared forest (PublishesResources::shared_resources_for).