GuiLabelButton method

GuiResult GuiLabelButton(
  1. Rectangle bounds,
  2. String? text
)

Label button control, returns true when clicked

Implementation

GuiResult GuiLabelButton(
  Rectangle bounds,
  String? text,
) => run(
  () => _debugLabels.GuiLabelButton(bounds, text),
  () => .fromValue(_flat.GuiLabelButton(
    bounds,
    String$.ValueOrNull(text),
  )),
);