GuiTabBar method

(int, int) GuiTabBar(
  1. RectangleD bounds,
  2. List<String> text
)

Implementation

(int tab, int active) GuiTabBar(
  RectangleD bounds,
  List<String> text,
) => run(
  () => 'GuiTabBar($bounds, text: ${text.length})',
  () {
    final active = refInt1();
    final currentTabClosingRequested = rl.Gui.GuiTabBar(
      _refRectangle1(bounds).ref,
      rl.Temp.String$.Array(text),
      text.length,
      active,
    );
    return (currentTabClosingRequested, active.value);
  },
);