Difference between revisions of "UI.ImageText"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2023.1<br/> '''Class:''' UI<br/> === Description === Creates an ImageText widget. <syntaxhighlight lang="lua"> UI.ImageText.new()...") |
|||
Line 21: | Line 21: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | {{ | + | {{UI}} |
Latest revision as of 07:18, 17 October 2023
Available since: Gideros 2023.1
Class: UI
Description
Creates an ImageText widget.
UI.ImageText.new()
Example
local gui = UI.ImageText.new()
local tex = Texture.new("ui/icons/ic_ref.png")
gui:setImage(tex)
gui:setText("reading is good for you")
gui:setPosition(50, 50)
local screen=UI.Screen.new() -- needed to add the texture
screen:ui(gui)
- UI.Accordion
- UI.Animation
- UI.Bar
- UI.Behavior
- UI.Border
- UI.BreadCrumbs
- UI.Builder
- UI.Button
- UI.Calendar
- UI.Checkbox
- UI.Combobox
- UI.ImageText
- UI.Keyboard
- UI.Label
- UI.Panel
- UI.Progress
- UI.Slider
- UI.Spinner
- UI.Splitpane
- UI.TabbedPane
- UI.Table
- UI.TextField
- UI.TimePicker
- UI.Toolbox
- UI.Tree
- UI.Viewport
- UI.WeekSchedule