Expand description
Map/Dictionary control for editing key-value pairs
Renders as an expandable list of entries:
Languages:
> rust
> python
▼ javascript (expanded)
tab_size: 2
auto_indent: [x]
[+ Add entry...]This module provides a complete map control with:
- State management (
MapState) - Rendering (
render_map) - Input handling (
MapState::handle_mouse,handle_key) - Layout/hit testing (
MapLayout)
Structs§
- MapColors
- Colors for the map control
- MapEntry
Layout - Layout for an entry row
- MapLayout
- Layout information for hit testing
- MapState
- State for a map/dictionary control
Enums§
- MapEvent
- Events that can be returned from map input handling
- MapHit
- Result of hit testing on a map control
Functions§
- render_
map - Render a map control