luxe: ui/button.control
ButtonAlignH
Section titled “ButtonAlignH”import "luxe: ui/button.control" for ButtonAlignHno docs found
ButtonAlignH.left
Section titled “ButtonAlignH.left”ButtonAlignH.left : unknownno docs found
ButtonAlignH.center
Section titled “ButtonAlignH.center”ButtonAlignH.center : unknownno docs found
ButtonAlignH.right
Section titled “ButtonAlignH.right”ButtonAlignH.right : unknownno docs found
ButtonAlignV
Section titled “ButtonAlignV”import "luxe: ui/button.control" for ButtonAlignVno docs found
ButtonAlignV.top
Section titled “ButtonAlignV.top”ButtonAlignV.top : unknownno docs found
ButtonAlignV.center
Section titled “ButtonAlignV.center”ButtonAlignV.center : unknownno docs found
ButtonAlignV.bottom
Section titled “ButtonAlignV.bottom”ButtonAlignV.bottom : unknownno docs found
import "luxe: ui/button.control" for Datano docs found
Variables
Section titled “Variables”var text : String = ""var align : ButtonAlignH = ButtonAlignH.centervar align_vertical : ButtonAlignV = ButtonAlignV.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/button.control" for Localizationno docs found
Variables
Section titled “Variables”var key : String = nullvar space : String = "game"var args : List = []UIButton
Section titled “UIButton”import "luxe: ui/button.control" for UIButtonno docs found
UIButton.override(.)
Section titled “UIButton.override(.)”UIButton.override(button : Control) : ButtonInfono docs found
UIButton.override_text(.)
Section titled “UIButton.override_text(.)”UIButton.override_text(button : Control) : LabelInfono docs found
UIButton.override_base(.)
Section titled “UIButton.override_base(.)”UIButton.override_base(button : Control) : PanelInfono docs found
UIButton.create(.)
Section titled “UIButton.create(.)”UIButton.create(ui : Entity) : ControlCreate a new button control.
UIButton.set_text(..)
Section titled “UIButton.set_text(..)”UIButton.set_text(button : Control, text : String) : NoneSet the text displayed on a button.
UIButton.get_text(.)
Section titled “UIButton.get_text(.)”UIButton.get_text(button : Control) : StringGet the text displayed on a button.
UIButton.get_font(.)
Section titled “UIButton.get_font(.)”UIButton.get_font(button : Control) : FontGet the font asset id of the text on the button. The asset id is returned as the string hash, to get the string use
Strings.get.
UIButton.set_font(..)
Section titled “UIButton.set_font(..)”UIButton.set_font(button : Control, font : Font) : NoneSet the font of the text on a button.
UIButton.set_color(..)
Section titled “UIButton.set_color(..)”UIButton.set_color(button : Control, color : Color) : NoneSet the color of the button text.
UIButton.get_color(.)
Section titled “UIButton.get_color(.)”UIButton.get_color(button : Control) : ColorGet the color of a button.
UIButton.set_text_size(..)
Section titled “UIButton.set_text_size(..)”UIButton.set_text_size(button : Control, size : Num) : NoneSet the size of the text on a button.
UIButton.get_text_size(.)
Section titled “UIButton.get_text_size(.)”UIButton.get_text_size(button : Control) : NumGet the size of the text on a button.
UIButton.set_align(..)
Section titled “UIButton.set_align(..)”UIButton.set_align(button : Control, align : TextAlign) : NoneSet the horizontal alignment of the text on a button.
UIButton.get_align(.)
Section titled “UIButton.get_align(.)”UIButton.get_align(button : Control) : TextAlignGet the horizontal alignment of the text on a button.
UIButton.set_align_vertical(..)
Section titled “UIButton.set_align_vertical(..)”UIButton.set_align_vertical(button : Control, align : TextAlign) : NoneSet the vertical alignment of the text on a button.
UIButton.get_align_vertical(.)
Section titled “UIButton.get_align_vertical(.)”UIButton.get_align_vertical(button : Control) : TextAlignGet the vertical alignment of the text on a button.
UIButton.set_loc(…)
Section titled “UIButton.set_loc(…)”UIButton.set_loc(button : Control, space : String, key : String) : Noneno docs found
UIButton.set_loc(..)
Section titled “UIButton.set_loc(..)”UIButton.set_loc(button : Control, key : String) : Noneno docs found
UIButton.set_loc_with_args(…)
Section titled “UIButton.set_loc_with_args(…)”UIButton.set_loc_with_args(button : Control, space : String, key : String, args : List) : Noneno docs found
UIButton.set_loc_with_args(…)
Section titled “UIButton.set_loc_with_args(…)”UIButton.set_loc_with_args(button : Control, key : String, args : List) : Noneno docs found
UIButton.get_render_text(.)
Section titled “UIButton.get_render_text(.)”UIButton.get_render_text(button : Control) : RenderTextGet the underlying lowlevel text render object. Usable with the
Render.text_*API.
UIButton.set_colors(…)
Section titled “UIButton.set_colors(…)”UIButton.set_colors(button : UIButton, bg : Color, bg_hover : Color, border : Color, border_hover : Color) : Noneno docs found