Expand description
§Egui Chip
egui_chip is a library for creating and configuring ChipEdit instances
in the egui framework. The crate is inspired from Material’s chip.
This crate provides a fluent interface for setting
various options and parameters for ChipEdit components.
§Usage
Add this crate to your Cargo.toml:
[dependencies]
egui_chip = "0.1.0"§Examples
use egui_chip::ChipEditBuilder;
let chip_edit = ChipEditBuilder::new(", ")
.unwrap()
.frame(true)
.texts(["hello", "world"])
.build();§Features
- Customizable options for appearance
- Supports moving from one chip to another
- Supports deleting chip with delete or backspace keys
- Integration with the
eguiframework
Structs§
- Chip
Edit - Creates a chip style textbox
- Chip
Edit Builder - A builder for creating a
ChipEditwidget with various customization options. - Chip
Edit Output - Represents the output of a
ChipEditwidget. - Unowned
Chip Edit - Creates a chip style textbox from mutable reference to texts.