def __init__( self, id=None, ref=None, legend=None, tooltips=None, inner_value=None, inner_radius=None, points=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.__data = Data(points=points) self.legend = legend self.tooltips = tooltips self.inner_value = inner_value self.inner_radius = inner_radius
def __init__(self, id=None, ref=None, points=None): Control.__init__(self, id=id, ref=ref) self.__points = [] if points != None: for point in points: self.__points.append(point)
def __init__(self, id=None, ref=None, controls=None): Control.__init__(self, id=id, ref=ref) self.__controls = [] if controls != None: for control in controls: self.__controls.append(control)
def __init__( self, label=None, id=None, ref=None, label_position: Position = None, size=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.label = label self.size = size self.label_position = label_position
def __init__( self, tabs=None, id=None, ref=None, value=None, solid=None, on_change=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.solid = solid self.on_change = on_change self.__tabs = [] self.tabs = tabs if value: self.value = value
def __init__( self, id=None, ref=None, inverted=None, items=None, overflow=None, far=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.__items = [] if items != None: for item in items: self.__items.append(item) self.__overflow = Overflow(items=overflow) self.__far = Far(items=far) self.inverted = inverted
def __init__( self, name=None, id=None, ref=None, color=None, size=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.name = name self.color = color self.size = size
def __init__( self, id=None, ref=None, key=None, text=None, icon=None, icon_color=None, url=None, items=None, new_window=None, expanded=None, visible=None, disabled=None, data=None, ): Control.__init__(self, id=id, ref=ref, visible=visible, disabled=disabled, data=data) # key and text are optional for group item but key or text are required for level 2 and deeper items # assert key != None or text != None, "key or text must be specified" self.key = key self.text = text self.icon = icon self.icon_color = icon_color self.url = url self.new_window = new_window self.expanded = expanded self.__items = [] if items != None: for item in items: self.__items.append(item)
def __init__(self, id=None, ref=None, items=None): Control.__init__(self, id=id, ref=ref) self.__items = [] if items != None: for item in items: self.__items.append(item)
def __init__( self, text=None, id=None, ref=None, image_url=None, image_alt=None, initials_color: InitialsColor = None, initials_text_color=None, secondary_text=None, tertiary_text=None, optional_text=None, size: Size = None, presence: Presence = None, hide_details=None, visible=None, ): Control.__init__(self, id=id, ref=ref, visible=visible) self.text = text self.image_url = image_url self.image_alt = image_alt self.initials_color = initials_color self.initials_text_color = initials_text_color self.secondary_text = secondary_text self.tertiary_text = tertiary_text self.optional_text = optional_text self.size = size self.presence = presence self.hide_details = hide_details
def __init__( self, label=None, id=None, ref=None, description=None, value=None, bar_height=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.value = value self.description = description self.label = label self.bar_height = bar_height
def __init__( self, id=None, ref=None, tooltips=None, data_mode: DataMode = None, points=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.__data = Data(points=points) self.tooltips = tooltips self.data_mode = data_mode
def __init__(self, key=None, text=None, icon=None, icon_color=None, ref=None): Control.__init__(self, ref=ref) assert key != None or text != None, "key or text must be specified" self.key = key self.text = text self.icon = icon self.icon_color = icon_color
def __init__( self, key=None, text=None, item_type: ItemType = None, disabled=None, ref=None ): Control.__init__(self, ref=ref, disabled=disabled) assert key != None or text != None, "key or text must be specified" self.key = key self.text = text self.item_type = item_type self.disabled = disabled
def __init__( self, value=None, id=None, ref=None, markdown=None, align: TextAlign = None, vertical_align: VerticalAlign = None, size: TextSize = None, bold=None, italic=None, pre=None, nowrap=None, block=None, color=None, bgcolor=None, border_style: BorderStyle = None, border_width: BorderWidth = None, border_color: BorderColor = None, border_radius: BorderRadius = None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.value = value self.markdown = markdown self.align = align self.vertical_align = vertical_align self.size = size self.bold = bold self.italic = italic self.pre = pre self.nowrap = nowrap self.block = block self.color = color self.bgcolor = bgcolor self.border_style = border_style self.border_width = border_width self.border_color = border_color self.border_radius = border_radius
def __init__(self, conn: Connection, session_id): Control.__init__(self, id="page") self._conn = conn self._session_id = session_id self._controls = [] # page controls self._index = {} # index with all page controls self._index[self.id] = self self._last_event = None self._event_available = threading.Event() self._fetch_page_details()
def __init__(self, id=None, ref=None, value=None, legend=None, color=None, tooltip=None): Control.__init__(self, id=id, ref=ref) self.value = value self.legend = legend self.color = color self.tooltip = tooltip
def __init__( self, id=None, ref=None, open=None, title=None, sub_text=None, type: DialogType = None, auto_dismiss=None, width=None, max_width=None, height=None, fixed_top=None, blocking=None, data=None, controls=None, footer=None, on_dismiss=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, data=data, ) self.open = open self.title = title self.sub_text = sub_text self.type = type self.auto_dismiss = auto_dismiss self.max_width = max_width self.fixed_top = fixed_top self.blocking = blocking self.on_dismiss = on_dismiss self.__footer = Footer(controls=footer) self.__controls = [] if controls != None: for control in controls: self.__controls.append(control)
def __init__( self, label=None, id=None, ref=None, value: ComboBoxValue = None, placeholder=None, error_message=None, on_change=None, on_focus=None, on_blur=None, options=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, focused=None, multi_select=None, allow_free_form=None, auto_complete=None, data=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, data=data, ) self.label = label self.value = value self.placeholder = placeholder self.error_message = error_message self.focused = focused self.multi_select = multi_select self.allow_free_form = allow_free_form self.auto_complete = auto_complete self.on_change = on_change self.on_focus = on_focus self.on_blur = on_blur self.__options = [] if options != None: for option in options: self.__options.append(option)
def __init__(self, id=None, ref=None, color=None, legend=None, points=None): Control.__init__(self, id=id, ref=ref) self.color = color self.legend = legend self.__points = [] if points != None: for point in points: self.__points.append(point)
def __init__( self, text=None, id=None, ref=None, secondary_text=None, url=None, new_window=None, icon=None, icon_color=None, icon_only=None, split=None, divider=None, on_click=None, sub_menu_items=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, data=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, data=data, ) self.text = text self.secondary_text = secondary_text self.url = url self.new_window = new_window self.icon = icon self.icon_color = icon_color self.icon_only = icon_only self.split = split self.divider = divider self.on_click = on_click self.__sub_menu_items = [] if sub_menu_items != None: for item in sub_menu_items: self.__sub_menu_items.append(item)
def __init__( self, label=None, id=None, ref=None, value=None, min=None, max=None, step=None, show_value=None, value_format=None, vertical=None, focused=None, data=None, on_change=None, on_focus=None, on_blur=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, data=data, ) self.value = value self.label = label self.min = min self.max = max self.step = step self.show_value = show_value self.value_format = value_format self.vertical = vertical self.focused = focused self.on_change = on_change self.on_focus = on_focus self.on_blur = on_blur
def __init__( self, id=None, ref=None, value=None, placeholder=None, underlined=None, icon=None, icon_color=None, data=None, on_search=None, on_clear=None, on_change=None, on_focus=None, on_blur=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, focused=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, data=data, ) self.value = value self.placeholder = placeholder self.underlined = underlined self.icon = icon self.icon_color = icon_color self.focused = focused self.on_search = on_search self.on_clear = on_clear self.on_change = on_change self.on_focus = on_focus self.on_blur = on_blur
def __init__(self, text, controls=None, id=None, ref=None, key=None, icon=None, count=None): Control.__init__(self, id=id, ref=ref) assert key or text, "key or text must be specified" self.key = key self.text = text self.icon = icon self.count = count self.__controls = [] self.controls = controls
def __init__( self, id=None, ref=None, target=None, position: Position = None, gap=None, beak=None, beak_width=None, page_padding=None, focus=None, cover=None, visible=None, controls=None, on_dismiss=None, width=None, height=None, padding=None, margin=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.target = target self.position = position self.gap = gap self.beak = beak self.beak_width = beak_width self.page_padding = page_padding self.focus = focus self.cover = cover self.on_dismiss = on_dismiss self.__controls = [] if controls != None: for control in controls: self.__controls.append(control)
def __init__( self, id=None, ref=None, legend=None, tooltips=None, stroke_width=None, y_min=None, y_max=None, y_ticks=None, y_format=None, x_type: XType = None, lines=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.__lines = [] if lines != None: for line in lines: self.__lines.append(line) self.legend = legend self.tooltips = tooltips self.stroke_width = stroke_width self.y_min = y_min self.y_max = y_max self.y_ticks = y_ticks self.y_format = y_format self.x_type = x_type
def __init__( self, label=None, id=None, ref=None, value=None, value_field=None, inline=None, on_text=None, off_text=None, focused=None, data=None, on_change=None, on_focus=None, on_blur=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, data=data, ) self.value = value self.value_field = value_field self.label = label self.inline = inline self.on_text = on_text self.off_text = off_text self.focused = focused self.on_change = on_change self.on_focus = on_focus self.on_blur = on_blur
def __init__( self, id=None, ref=None, legend=None, tooltips=None, bar_width=None, colors=None, y_min=None, y_max=None, y_ticks=None, y_format=None, x_type: XType = None, points=None, width=None, height=None, padding=None, margin=None, visible=None, disabled=None, ): Control.__init__( self, id=id, ref=ref, width=width, height=height, padding=padding, margin=margin, visible=visible, disabled=disabled, ) self.__data = Data(points=points) self.legend = legend self.tooltips = tooltips self.bar_width = bar_width self.colors = colors self.y_min = y_min self.y_max = y_max self.y_ticks = y_ticks self.y_format = y_format self.x_type = x_type
def __init__( self, id=None, ref=None, x=None, y=None, legend=None, color=None, x_tooltip=None, y_tooltip=None, ): Control.__init__(self, id=id, ref=ref) self.x = x self.y = y self.legend = legend self.color = color self.x_tooltip = x_tooltip self.y_tooltip = y_tooltip
def __init__( self, id=None, ref=None, x=None, y=None, tick=None, legend=None, x_tooltip=None, y_tooltip=None, ): Control.__init__(self, id=id, ref=ref) self.x = x self.y = y self.tick = tick self.legend = legend self.x_tooltip = x_tooltip self.y_tooltip = y_tooltip