Back

AddTabs

Hello World

Adds an MUI tab on a given layout.

tbf = MUI.AddTabs( parent, title, width, height, options, color, animation ) → Object

See CreateTabFixed for a full documentation.

Example - AddPicker

cfg.Light
cfg.MUI

function OnStart()
{
    lay = MUI.CreateLayout("Linear", "FillXY")

    tab = MUI.AddTabs(lay, "Movies,Games,Books", 1, 1, "fix")

    app.AddLayout( lay )
}
Copy All       Run      
Boolean
Number
String:
  hexadecimal: “#rrggbb”, “#aarrggbb”
  colourName: “red”, “green”, ...
String: comma “,” separated: “titles”
String: comma “,” separated: “DS layout options” or “Fix”
Object: MUI Layout or DS Layout control