Difference between revisions of "UI.BreadCrumbs"
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 difference)
|
Revision as of 04:04, 14 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)