UI.BreadCrumbs

From GiderosMobile
Revision as of 07:17, 17 October 2023 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2023.1
Class: UI

Description

Creates a BreadCrumbs widget.

UI.BreadCrumbs.new()

Functions

setData: (table) the data to pass to the widget

Example

local gui = UI.BreadCrumbs.new()
local data = { "ROOT", "Dossier 1","D2","D3","Test 4","Et un grand 5" }
gui:setData(data)
gui:setPosition(64, 64)
--stage:addChild(gui)

-- uiscreen
local screen=UI.Screen.new()
screen:ui(gui)