luxe: ui/window.control
import "luxe: ui/window.control" for Datano docs found
Variables
Section titled “Variables”var bring_to_front : Bool = truevar closable : Bool = truevar collapsible : Bool = truevar resizable : Bool = truevar draggable : Bool = truevar title_height : Num = 40var text : String = ""var align : WindowAlignH = WindowAlignH.leftvar align_vertical : WindowAlignV = WindowAlignV.centervar localization : Localization = Objectvar max_visible : Num = -1var text_margin : Float4 = [8, 0, 8, 0]var override : Object = ObjectLocalization
Section titled “Localization”import "luxe: ui/window.control" for Localizationno docs found
Variables
Section titled “Variables”var key : String = nullvar space : String = "game"var args : List = []UIWindow
Section titled “UIWindow”import "luxe: ui/window.control" for UIWindow
UIWindowis aControlwith a title bar, close button, and can be moved around and resized like a windowed application on a desktop operating system. As you’d expect, you can attach otherControlsto it that stay attached as you move it around.var window = UIWindow.create(ui)UIWindow.set_text(window, "I'm a window!")UIWindow.set_title_size(window, 24)UIWindow.set_text_size(window, 14)UIWindow.set_resizable(window, true)Control.set_bounds(window, 64, 64, 680, 360)
UIWindow.override(.)
Section titled “UIWindow.override(.)”UIWindow.override(window : Control) : WindowInfono docs found
UIWindow.override_text(.)
Section titled “UIWindow.override_text(.)”UIWindow.override_text(window : Control) : LabelInfono docs found
UIWindow.override_base(.)
Section titled “UIWindow.override_base(.)”UIWindow.override_base(window : Control) : PanelInfono docs found
UIWindow.override_header(.)
Section titled “UIWindow.override_header(.)”UIWindow.override_header(window : Control) : PanelInfono docs found
UIWindow.create(.)
Section titled “UIWindow.create(.)”UIWindow.create(ui_entity : Entity) : UIWindowCreate a new
UIWindowcontrol for the given UI.
UIWindow.close(.)
Section titled “UIWindow.close(.)”UIWindow.close(window : Control) : NoneMake the given window disappear.
UIWindow.set_collapsed(..)
Section titled “UIWindow.set_collapsed(..)”UIWindow.set_collapsed(window : Control, state : Bool) : NoneSet whether the given window’s body is drawn (false, uncollapsed) or only the titlebar (true, collapsed).
UIWindow.get_collapsed(.)
Section titled “UIWindow.get_collapsed(.)”UIWindow.get_collapsed(window : Control) : BoolGet if the given window is collapsed.
UIWindow.set_text(..)
Section titled “UIWindow.set_text(..)”UIWindow.set_text(window : Control, text : String) : NoneSet the titlebar text of the given window.
UIWindow.get_text(.)
Section titled “UIWindow.get_text(.)”UIWindow.get_text(window : Control) : StringGet the titlebar text of the given window.
UIWindow.set_text_size(..)
Section titled “UIWindow.set_text_size(..)”UIWindow.set_text_size(window : Control, size : Num) : NoneSet the size of the text on a window.
UIWindow.get_text_size(.)
Section titled “UIWindow.get_text_size(.)”UIWindow.get_text_size(window : Control) : NumGet the size of the text on a window.
UIWindow.set_text_color(..)
Section titled “UIWindow.set_text_color(..)”UIWindow.set_text_color(window : Control, color : Color) : NoneSet the color of the window text.
UIWindow.get_text_color(.)
Section titled “UIWindow.get_text_color(.)”UIWindow.get_text_color(window : Control) : ColorGet the color of a window.
UIWindow.get_text_font(.)
Section titled “UIWindow.get_text_font(.)”UIWindow.get_text_font(window : Control) : FontGet the font asset id of the text on the window. The asset id is returned as the string hash, to get the string use
Strings.get.
UIWindow.set_text_font(..)
Section titled “UIWindow.set_text_font(..)”UIWindow.set_text_font(window : Control, font : Font) : NoneSet the font of the text on a window.
UIWindow.set_title_size(..)
Section titled “UIWindow.set_title_size(..)”UIWindow.set_title_size(window : Control, size : Num) : NoneSet the height of the titlebar of the given window.
UIWindow.set_resizable(..)
Section titled “UIWindow.set_resizable(..)”UIWindow.set_resizable(window : Control, state : Bool) : NoneSet if a window can be resized by dragging its bottom right corner.
UIWindow.set_bring_to_front(..)
Section titled “UIWindow.set_bring_to_front(..)”UIWindow.set_bring_to_front(window : Control, state : Bool) : NoneSet if a window will bring itself to the front of the UI when interacted with.
UIWindow.set_closable(..)
Section titled “UIWindow.set_closable(..)”UIWindow.set_closable(window : Control, state : Bool) : NoneSet if a window has a Close button the user can press.
UIWindow.set_collapsible(..)
Section titled “UIWindow.set_collapsible(..)”UIWindow.set_collapsible(window : Control, state : Bool) : NoneSet if a window has a Collapse button the user can press.
UIWindow.set_draggable(..)
Section titled “UIWindow.set_draggable(..)”UIWindow.set_draggable(window : Control, state : Bool) : NoneSet if a window can be dragged around with the mouse.
UIWindow.get_resizable(.)
Section titled “UIWindow.get_resizable(.)”UIWindow.get_resizable(window : Control) : BoolGet if a window can be resized by the user.
UIWindow.get_bring_to_front(.)
Section titled “UIWindow.get_bring_to_front(.)”UIWindow.get_bring_to_front(window : Control) : unknownGet if a window will bring itself to the front of the UI when interacted with.
UIWindow.get_closable(.)
Section titled “UIWindow.get_closable(.)”UIWindow.get_closable(window : Control) : unknownGet if a window has its Close button visible.
UIWindow.get_collapsible(.)
Section titled “UIWindow.get_collapsible(.)”UIWindow.get_collapsible(window : Control) : unknownGet if a window has its Collapse button visible.
UIWindow.get_draggable(.)
Section titled “UIWindow.get_draggable(.)”UIWindow.get_draggable(window : Control) : unknownGet if a window can be dragged around with the mouse.
UIWindow.set_align(..)
Section titled “UIWindow.set_align(..)”UIWindow.set_align(window : Control, align : TextAlign) : NoneSet the horizontal alignment of the text on a window.
UIWindow.get_align(.)
Section titled “UIWindow.get_align(.)”UIWindow.get_align(window : Control) : TextAlignGet the horizontal alignment of the text on a window.
UIWindow.set_align_vertical(..)
Section titled “UIWindow.set_align_vertical(..)”UIWindow.set_align_vertical(window : Control, align : TextAlign) : NoneSet the vertical alignment of the text on a window.
UIWindow.get_align_vertical(.)
Section titled “UIWindow.get_align_vertical(.)”UIWindow.get_align_vertical(window : Control) : TextAlignGet the vertical alignment of the text on a window.
UIWindow.set_loc(…)
Section titled “UIWindow.set_loc(…)”UIWindow.set_loc(window : Control, space : String, key : String) : Noneno docs found
UIWindow.set_loc(..)
Section titled “UIWindow.set_loc(..)”UIWindow.set_loc(window : Control, key : String) : Noneno docs found
UIWindow.set_loc_with_args(…)
Section titled “UIWindow.set_loc_with_args(…)”UIWindow.set_loc_with_args(window : Control, space : String, key : String, args : List) : Noneno docs found
UIWindow.set_loc_with_args(…)
Section titled “UIWindow.set_loc_with_args(…)”UIWindow.set_loc_with_args(window : Control, key : String, args : List) : Noneno docs found
UIWindow.get_render_text(.)
Section titled “UIWindow.get_render_text(.)”UIWindow.get_render_text(window : Control) : RenderTextGet the underlying lowlevel text render object. Usable with the
Render.text_*API.
UIWindowChange
Section titled “UIWindowChange”import "luxe: ui/window.control" for UIWindowChangeno docs found
UIWindowChange.close
Section titled “UIWindowChange.close”UIWindowChange.close : unknownno docs found
UIWindowChange.open
Section titled “UIWindowChange.open”UIWindowChange.open : unknownno docs found
UIWindowChange.collapse
Section titled “UIWindowChange.collapse”UIWindowChange.collapse : unknownno docs found
UIWindowChange.uncollapse
Section titled “UIWindowChange.uncollapse”UIWindowChange.uncollapse : unknownno docs found
UIWindowChange.move
Section titled “UIWindowChange.move”UIWindowChange.move : unknownno docs found
UIWindowChange.name(.)
Section titled “UIWindowChange.name(.)”UIWindowChange.name(value : Any) : unknownno docs found
WindowAlignH
Section titled “WindowAlignH”import "luxe: ui/window.control" for WindowAlignHno docs found
WindowAlignH.left
Section titled “WindowAlignH.left”WindowAlignH.left : unknownno docs found
WindowAlignH.center
Section titled “WindowAlignH.center”WindowAlignH.center : unknownno docs found
WindowAlignH.right
Section titled “WindowAlignH.right”WindowAlignH.right : unknownno docs found
WindowAlignV
Section titled “WindowAlignV”import "luxe: ui/window.control" for WindowAlignVno docs found
WindowAlignV.top
Section titled “WindowAlignV.top”WindowAlignV.top : unknownno docs found
WindowAlignV.center
Section titled “WindowAlignV.center”WindowAlignV.center : unknownno docs found
WindowAlignV.bottom
Section titled “WindowAlignV.bottom”WindowAlignV.bottom : unknownno docs found