gooey-rs 0.12.1

Tile-based UI library with audio support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::tree::NodeId;
use super::impl_kind;

#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct Selection {
  pub loop_   : bool,
  /// Saves the currently selected item in the menu. An "item" is a sibling node that is
  /// a Frame widget. If the menu parent is focused, this sibling should also be
  /// focused.
  pub current : Option <NodeId>
}
impl_kind!(Selection);