[−][src]Module imgui_ext::text
text(...)
docs.
Optional params
label
flags
Name of a local function that returns the input flags.size
Name of a local function that returns the size of the field (multi-line text).catch
Example
use imgui::ImString; use imgui_ext::ImGuiExt; #[derive(ImGuiExt)] struct Form { #[imgui(text)] name: ImString, #[imgui(text)] email: ImString, #[imgui( text(size = "size"), button(label = "submit") )] comment: ImString, } fn size() -> (f32, f32) { (200.0, 100.0) }
Result
Structs
TextParams |
Traits
Text |