UI.BreadCrumbs: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2023.1<br/> '''Class:''' UI<br/> === Description === Creates a BreadCrumbs widget. <syntaxhighlight lang="lua"> UI.BreadCrumbs.ne..."
 
No edit summary
 
Line 25: Line 25:
</syntaxhighlight>
</syntaxhighlight>


{{GIDEROS IMPORTANT LINKS}}
{{UI}}

Latest revision as of 06:17, 17 October 2023

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)