Skip to content

Tooltip

coding.jackalope edited this page Mar 30, 2019 · 2 revisions
Table of Contents

Overview

Slab offers tool tips to be rendered over controls when specified. Not all controls are currently supported, by below will have an example with all controls that are supported.

Slab.BeginWindow('MyFirstWindow', {Title = "My First Window"})

Slab.Button("Button", {Tooltip = "This is a button."})
Slab.CheckBox(false, "Check Box", {Tooltip = "This is a check box."})
if Slab.BeginComboBox('MyComboBox', {Tooltip = "This is a combo box."}) then
	Slab.EndComboBox()
end
Slab.Image('MyImage', {Path = "Slab/Internal/Resources/Textures/power.png", Tooltip = "This is an image."})
Slab.Input('MyInput', {Tooltip = "This is an input."})
if Slab.BeginTree('MyTree', {Tooltip = "This is a tree."}) then
	Slab.EndTree()
end

Slab.EndWindow()

The controls that are currently supported are:

Clone this wiki locally