Creating windows
Following the steps in the Installing page, once you have installed ReGui, you can begin to create your first window!
By default, ReGui parents windows into ReGui.Container.Windows
. The container parent is automatically tested. For example if ReGui had CoreGui permissions, the container would be parented to the CoreGUI.
If you would like to speicifcally parent the Container, define ContainerParent
with the Parent in the ReGui:Init call
local Window = ReGui:Window({
Title = "Hello world!",
Size = UDim2.fromOffset(300, 200)
}) --> Canvas & WindowClass
Window:Label({Text="Hello, world!"})
Window:Button({
Text = "Save",
Callback = function()
MySaveFunction()
end,
})
Window:InputText({Label="string"})
Window:SliderFloat({Label = "float", Minimum = 0.0, Maximum = 1.0})

TabsWindow

Window
Last updated