nanome.api.ui.ui_list module

class UIList[source]

Bases: nanome._internal.ui.models._UIList, nanome.api.ui.ui_base.UIBase

A class representing a list of UI elements.
display_columns
Number of columns of items to display simultaneously.
Type:int
display_rows
Number of rows of items to display simultaneously.
Type:int
items
LayoutNodes items to be displayed in the list.
Type:list <LayoutNode>
total_columns
Total number of columns to display across scrolling.
i.e. If there are 2 display columns and 4 total columns,
the horizontal scroll bar will have two possible positions.
Type:int
unusable
Whether or not the UI list is usable.
Type:bool