ClassesListPreview
Introduction
Function signature
classes_list_preview = ClassesListPreview(
classes=obj_classes,
max_height="128px",
empty_text = None,
show_shape_title=True,
show_shape_icon=True,
widget_id = None,
)Parameters
Parameters
Type
Description
classes
max_height
empty_text
show_shape_title
show_shape_icon
widget_id
Methods and attributes
Attributes and Methods
Description
Mini App Example
Import libraries
Init API client
Create list of object classes and init ClassesListSelector widget
ClassesListSelector widgetInitialize ClassesListPreview widget and Text widget for displaying number of selected classes
ClassesListPreview widget and Text widget for displaying number of selected classesCreate app layout
Create app using layout
Add functions to control widgets from python code
Last updated