zng_wgt

Module node

source
Expand description

Helper nodes.

This module defines some foundational nodes that can be used for declaring properties and widgets.

Macros§

Functions§

  • Helper for declaring state properties that are controlled by a variable.
  • Helper for declaring state properties that are controlled by a variable.
  • Creates a border node that delegates rendering to a border_visual and manages the border_offsets coordinating with the other borders of the widget.
  • Helper for declaring state properties that depend on a single event.
  • Helper for declaring state properties that depend on two other event states.
  • Helper for declaring state properties that depend on three other event states.
  • Helper for declaring state properties that depend on four other event states.
  • Transforms and clips the content node according with the default widget border align behavior.
  • Create a node that controls interaction for all widgets inside node.
  • Node that presents list using item_fn for each new list item.
  • Helper for declaring command event properties.
  • Helper for declaring event properties.
  • Helper for declaring command preview handlers.
  • Helper for declaring preview event properties.
  • Node that presents data using wgt_fn.
  • Node that presents data using wgt_fn if data is available, otherwise presents nil.
  • Logs an error if the _var is always read-only.
  • Helper for declaring state getter properties that are controlled by values in the widget state map.
  • Helper for declaring state properties that are controlled by values in the widget state map.
  • Helper for declaring widgets that are recontextualized to take in some of the context of an original parent.
  • Helper for declaring nodes that sets a context local value.
  • Helper for declaring nodes that sets a context local value generated on init.
  • Helper for declaring properties that sets a context var.
  • Helper for declaring properties that sets a context var to a value generated on init.
  • Helper for a property that gets the index of the widget in the parent panel and the number of children.
  • Helper for a property that gets the index of the widget in the parent panel.
  • Helper for a property that gets the reverse index of the widget in the parent panel.
  • Helper for declaring properties that set the widget state.
  • Helper for declaring properties that set the widget state with a custom closure.