Skip to content

Push.user_settings_component

Classes

class UserSettingsComponent(Component)

Bases: Component

Attributes

  • settings

__init__(self, *a, **k)

set_display_line1(self, display)

set_display_line2(self, display)

set_display_line3(self, display)

set_display_line4(self, display)

set_encoders(self, encoders)

_set_settings(self, settings)

_get_settings(self)

set_info_text(self, info_text)

_on_encoder_value(self, value, index)

_update_display(self)

update(self)

class UserComponent(UserComponentBase)

Bases: UserComponentBase

Attributes

  • settings_layer
  • settings

__init__(self, *a, **k)

action_button(self, button)

hide_settings(self, button)

set_settings_info_text(self, text)

post_trigger_action(self, button)

Functions

combine_strings(string1, string2, length)