luxe: ui/list.control
import "luxe: ui/list.control" for Datano docs found
UIList
Section titled “UIList”import "luxe: ui/list.control" for UIListno docs found
UIList.create(.)
Section titled “UIList.create(.)”UIList.create(ui_entity : Entity) : ControlCreate a list control
UIList.add(..)
Section titled “UIList.add(..)”UIList.add(list : Control, control : Control) : NoneAdd a given control to the list
UIList.remove(..)
Section titled “UIList.remove(..)”UIList.remove(list : Control, control : Control) : NoneRemove a given control from the list
UIList.clear(..)
Section titled “UIList.clear(..)”UIList.clear(list : Control, action : UIClearAction) : NoneClear the list, with the given action to do with the removed controls
UIList.refresh(.)
Section titled “UIList.refresh(.)”UIList.refresh(list : Control) : NoneRefresh the list, called after changes (is this still needed?)
UIList.set_flex_width(..)
Section titled “UIList.set_flex_width(..)”UIList.set_flex_width(list : Control, state : Bool) : NoneSets whether the control will expand to fill horizontal space. Typically you want this in flex layout.
UIList.set_percent(…)
Section titled “UIList.set_percent(…)”UIList.set_percent(list : Control, vertical : Num, horizontal : Num) : unknownSets the amount of scroll in relative percent, 0…1
UIList.set_percent_v(..)
Section titled “UIList.set_percent_v(..)”UIList.set_percent_v(list : Control, vertical : Num) : unknownSets the vertical amount of scroll in relative percent, 0…1
UIList.set_percent_h(..)
Section titled “UIList.set_percent_h(..)”UIList.set_percent_h(list : Control, horizontal : Num) : unknownSets the horizontal amount of scroll in relative percent, 0…1
UIList.get_percent_v(.)
Section titled “UIList.get_percent_v(.)”UIList.get_percent_v(list : Control) : NumReturns the vertical amount of scroll in relative percent, 0…1
UIList.get_percent_h(.)
Section titled “UIList.get_percent_h(.)”UIList.get_percent_h(list : Control) : NumReturns the horizontal amount of scroll in relative percent, 0…1
UIList.set_scroll(…)
Section titled “UIList.set_scroll(…)”UIList.set_scroll(list : Control, vertical : Num, horizontal : Num) : NoneReturns the amount of scroll in absolute units
UIList.set_scroll_v(..)
Section titled “UIList.set_scroll_v(..)”UIList.set_scroll_v(list : Control, vertical : Num) : NoneSets the vertical amount of scroll in absolute units
UIList.set_scroll_h(..)
Section titled “UIList.set_scroll_h(..)”UIList.set_scroll_h(list : Control, horizontal : Num) : NoneSets the horizontal amount of scroll in absolute units
UIList.get_scroll_v(.)
Section titled “UIList.get_scroll_v(.)”UIList.get_scroll_v(list : Control) : NumReturns the vertical amount of scroll in absolute units
UIList.get_scroll_h(.)
Section titled “UIList.get_scroll_h(.)”UIList.get_scroll_h(list : Control) : NumReturns the horizontal amount of scroll in absolute units
UIList.can_scroll_v(.)
Section titled “UIList.can_scroll_v(.)”UIList.can_scroll_v(list : Control) : BoolReturns true if there’s any space to scroll vertically
UIList.can_scroll_h(.)
Section titled “UIList.can_scroll_h(.)”UIList.can_scroll_h(list : Control) : BoolReturns true if there’s any space to scroll horizontally
UIList.count(.)
Section titled “UIList.count(.)”UIList.count(list : Control) : NumGet the number of controls in the list
UIList.get(..)
Section titled “UIList.get(..)”UIList.get(list : Control, index : Num) : ControlGet the control at the given index inside the list
UIList.index(..)
Section titled “UIList.index(..)”UIList.index(list : Control, control : Control) : NumGet the index of the given control inside the list