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...")
 
 
Line 25: Line 25:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
{{GIDEROS IMPORTANT LINKS}}
+
{{UI}}

Latest revision as of 07: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)