GuiLabelButton method

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

Label button control, returns true when clicked

Implementation

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