SYMBOL INDEX (280 symbols across 13 files) FILE: lifx_control_panel/frames.py class LightFrame (line 49) | class LightFrame(ttk.Labelframe): # pylint: disable=too-many-ancestors method __init__ (line 79) | def __init__(self, master, target: lifxlan.Device): method _get_light_info (line 137) | def _get_light_info(self, target: lifxlan.Device) -> Tuple[int, Color]: method _setup_screen_region_select (line 164) | def _setup_screen_region_select(self): method _grid_horiz_coordinate_box (line 196) | def _grid_horiz_coordinate_box(self, text: str, row, arg2): method _setup_special_functions (line 205) | def _setup_special_functions(self): method _setup_color_dropdowns (line 293) | def _setup_color_dropdowns(self): method setup_color_controls (line 333) | def setup_color_controls(self, init_color: Color): method setup_power_controls (line 453) | def setup_power_controls(self, bulb_power: int): method _setup_logger (line 480) | def _setup_logger(self): method restart (line 492) | def restart(self): method get_label (line 497) | def get_label(self): method trigger_icon_update (line 501) | def trigger_icon_update(self, *_, **__): method get_color_values_hsbk (line 505) | def get_color_values_hsbk(self): method stop_threads (line 509) | def stop_threads(self): method update_power (line 518) | def update_power(self): method update_color_from_ui (line 523) | def update_color_from_ui(self, *_, **__): method set_color (line 528) | def set_color(self, color, rapid=False): method update_label (line 547) | def update_label(self, key: int): method update_display (line 562) | def update_display(self, key: int): method get_color_from_palette (line 593) | def get_color_from_palette(self): method update_status_from_bulb (line 604) | def update_status_from_bulb(self, run_once=False): method eyedropper (line 644) | def eyedropper(self, *_, **__): method change_preset_dropdown (line 669) | def change_preset_dropdown(self, *_, **__): method change_user_dropdown (line 678) | def change_user_dropdown(self, *_, **__): method update_user_dropdown (line 687) | def update_user_dropdown(self): method get_monitor_bounds (line 697) | def get_monitor_bounds(self): method save_monitor_bounds (line 704) | def save_monitor_bounds(self): class GroupFrame (line 712) | class GroupFrame(LightFrame): method _get_light_info (line 713) | def _get_light_info(self, target: lifxlan.Group) -> Tuple[int, Color]: method update_status_from_bulb (line 753) | def update_status_from_bulb(self, run_once=False): class MultiZoneFrame (line 757) | class MultiZoneFrame(LightFrame): FILE: lifx_control_panel/test/dummy_devices.py class DummyDevice (line 28) | class DummyDevice: method __init__ (line 29) | def __init__(self, label="No label"): method is_light (line 86) | def is_light(self): method set_label (line 89) | def set_label(self, val: str): method set_power (line 92) | def set_power(self, val: bool, rapid: bool = False): method get_mac_address (line 96) | def get_mac_address(self): method get_ip_addr (line 99) | def get_ip_addr(self): method get_service (line 102) | def get_service(self): method get_port (line 105) | def get_port(self): method get_label (line 108) | def get_label(self): method get_power (line 111) | def get_power(self): method get_host_firmware_tuple (line 114) | def get_host_firmware_tuple(self): method get_host_firmware_build_timestamp (line 117) | def get_host_firmware_build_timestamp(self): method get_host_firmware_version (line 120) | def get_host_firmware_version(self): method get_wifi_info_tuple (line 123) | def get_wifi_info_tuple(self): method get_wifi_signal_mw (line 126) | def get_wifi_signal_mw(self): method get_wifi_tx_bytes (line 129) | def get_wifi_tx_bytes(self): method get_wifi_rx_bytes (line 132) | def get_wifi_rx_bytes(self): method get_wifi_firmware_tuple (line 135) | def get_wifi_firmware_tuple(self): method get_wifi_firmware_build_timestamp (line 138) | def get_wifi_firmware_build_timestamp(self): method get_wifi_firmware_version (line 141) | def get_wifi_firmware_version(self): method get_version_tuple (line 144) | def get_version_tuple(self): method get_location (line 147) | def get_location(self): method get_location_tuple (line 150) | def get_location_tuple(self): method get_location_label (line 153) | def get_location_label(self): method get_location_updated_at (line 156) | def get_location_updated_at(self): method get_group (line 159) | def get_group(self): method get_group_tuple (line 162) | def get_group_tuple(self): method get_group_label (line 165) | def get_group_label(self): method get_group_updated_a (line 168) | def get_group_updated_a(self): method get_vendor (line 171) | def get_vendor(self): method get_product (line 174) | def get_product(self): method get_version (line 177) | def get_version(self): method get_info_tuple (line 180) | def get_info_tuple(self): method get_time (line 183) | def get_time(self): method get_uptime (line 186) | def get_uptime(self): method get_downtime (line 189) | def get_downtime(self): # no way to make this work. Shouldn't need it method supports_color (line 192) | def supports_color(self): method supports_temperature (line 195) | def supports_temperature(self): method supports_multizone (line 198) | def supports_multizone(self): method supports_infrared (line 201) | def supports_infrared(self): class DummyBulb (line 205) | class DummyBulb(DummyDevice): method __init__ (line 206) | def __init__(self, color=None, label="N/A"): method power_level (line 213) | def power_level(self): method power_level (line 217) | def power_level(self, val): method set_power (line 220) | def set_power(self, val: int, duration: int = 0, rapid: bool = False): method set_color (line 223) | def set_color(self, val: DummyColor, duration: int = 0, rapid: bool = ... method set_waveform (line 227) | def set_waveform(self, is_transient, color, period, cycles, duty_cycle... method get_power (line 230) | def get_power(self): method get_color (line 233) | def get_color(self): method get_infared (line 236) | def get_infared(self): method set_infared (line 239) | def set_infared(self, val: int): method set_hue (line 242) | def set_hue(self, hue, duration=0, rapid=False): method set_brightness (line 245) | def set_brightness(self, brightness, duration=0, rapid=False): method set_saturation (line 248) | def set_saturation(self, saturation, duration=0, rapid=False): method set_colortemp (line 251) | def set_colortemp(self, kelvin, duration=0, rapid=False): class MultiZoneDummy (line 255) | class MultiZoneDummy(DummyBulb): method __init__ (line 256) | def __init__(self, color=DummyColor(0, 0, 0, 1500), label="N/A"): method get_color_zones (line 261) | def get_color_zones(self, start=0, end=0): method set_zone_color (line 264) | def set_zone_color(self, start, end, color, duration=0, rapid=False, a... method set_zone_colors (line 267) | def set_zone_colors(self, colors, duration=0, rapid=False): class TileDummy (line 271) | class TileDummy(DummyBulb): class TileChainDummy (line 275) | class TileChainDummy(DummyBulb): method __init__ (line 276) | def __init__(self, color=DummyColor(0, 0, 0, 1500), label="N/A", x=1, ... method get_tile_info (line 283) | def get_tile_info(self, refresh_cache=False): method get_tile_count (line 289) | def get_tile_count(self, refresh_cache=False): method get_tile_colors (line 295) | def get_tile_colors(self, start_index, tile_count=0, x=0, y=0, width=0): method set_tile_colors (line 301) | def set_tile_colors( method get_tilechain_colors (line 317) | def get_tilechain_colors(self): method set_tilechain_colors (line 320) | def set_tilechain_colors(self, tilechain_colors, duration=0, rapid=Fal... method project_matrix (line 324) | def project_matrix(self, hsvk_matrix, duration, rapid): method get_canvas_dimensions (line 327) | def get_canvas_dimensions(self, refresh_cache): method recenter_coordinates (line 330) | def recenter_coordinates(self): method set_tile_coordinates (line 333) | def set_tile_coordinates(self, tile_index, x, y): method get_tile_map (line 336) | def get_tile_map(self, refresh_cache): class LifxLANDummy (line 340) | class LifxLANDummy: method __init__ (line 341) | def __init__(self, verbose=False): method add_dummy_light (line 345) | def add_dummy_light(self, light: DummyBulb): method get_lights (line 349) | def get_lights(self): method get_color_lights (line 352) | def get_color_lights(self): method get_infrared_lights (line 355) | def get_infrared_lights(self): method get_multizone_lights (line 360) | def get_multizone_lights(self): method get_tilechain_lights (line 365) | def get_tilechain_lights(self): method get_device_by_name (line 370) | def get_device_by_name(self, name: str): method get_devices_by_names (line 373) | def get_devices_by_names(self, names: Iterable[str]): method get_devices_by_group (line 378) | def get_devices_by_group(self, group_id): method get_devices_by_location (line 383) | def get_devices_by_location(self, location: str): method set_power_all_lights (line 392) | def set_power_all_lights(self, power, duration=0, rapid=False): method set_color_all_lights (line 396) | def set_color_all_lights(self, color, duration=0, rapid=False): method set_waveform_all_lights (line 400) | def set_waveform_all_lights( method get_power_all_lights (line 408) | def get_power_all_lights(self): method get_color_all_lights (line 411) | def get_color_all_lights(self): class DummyGroup (line 415) | class DummyGroup: method __init__ (line 416) | def __init__(self, devices: list, label: str = "N/A"): method __iter__ (line 420) | def __iter__(self): method add_device (line 423) | def add_device(self, device: DummyDevice): method remove_device (line 426) | def remove_device(self, device: DummyDevice): method remove_device_by_name (line 429) | def remove_device_by_name(self, device_name: str): method get_device_list (line 435) | def get_device_list(self): method set_power (line 438) | def set_power(self, power, duration=0, rapid=False): method set_color (line 442) | def set_color(self, color, duration=0, rapid=False): method set_hue (line 446) | def set_hue(self, hue, duration=0, rapid=False): method set_brightness (line 450) | def set_brightness(self, brightness, duration=0, rapid=False): method set_saturation (line 454) | def set_saturation(self, saturation, duration=0, rapid=False): method set_colortemp (line 458) | def set_colortemp(self, kelvin, duration=0, rapid=False): method set_infrared (line 462) | def set_infrared(self, infrared, duration=0, rapid=False): method set_zone_color (line 466) | def set_zone_color(self, start, end, color, duration=0, rapid=False, a... method set_zone_colors (line 470) | def set_zone_colors(self, colors, duration=0, rapid=False): function main (line 475) | def main(): FILE: lifx_control_panel/test/dummy_tests.py class TestLAN (line 7) | class TestLAN(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_add_lights (line 12) | def test_add_lights(self): method test_set_color_all_lights (line 18) | def test_set_color_all_lights(self): method test_set_power_all_lights (line 24) | def test_set_power_all_lights(self): class TestDevice (line 31) | class TestDevice(unittest.TestCase): method setUp (line 32) | def setUp(self): method test_set_label (line 35) | def test_set_label(self): class TestBulb (line 44) | class TestBulb(unittest.TestCase): method setUp (line 45) | def setUp(self): method test_set_label (line 48) | def test_set_label(self): method test_power_duration (line 56) | def test_power_duration(self): method test_color_duration (line 66) | def test_color_duration(self): FILE: lifx_control_panel/test/functional_test.py class TestFunctions (line 12) | class TestFunctions(unittest.TestCase): method setUp (line 13) | def setUp(self): method _cmp_color (line 16) | def _cmp_color(self, c, h, s, b, k): method test_color (line 22) | def test_color(self): method test_conversion (line 44) | def test_conversion(self): method test_str_conversion (line 52) | def test_str_conversion(self): FILE: lifx_control_panel/ui/colorscale.py class ColorScale (line 8) | class ColorScale(tk.Canvas): method __init__ (line 13) | def __init__( method _draw_gradient (line 67) | def _draw_gradient(self, val): method _on_click (line 128) | def _on_click(self, event): method update_slider_value (line 135) | def update_slider_value(self, width, x_coord): method _on_move (line 144) | def _on_move(self, event): method _update_val (line 152) | def _update_val(self, *_): method get (line 158) | def get(self): method set (line 164) | def set(self, val): FILE: lifx_control_panel/ui/icon_list.py class BulbIconListSettings (line 13) | class BulbIconListSettings: method __post_init__ (line 23) | def __post_init__(self): class BulbIconList (line 31) | class BulbIconList(tkinter.Frame): # pylint: disable=too-many-instance-... method __init__ (line 34) | def __init__(self, *args, is_group: bool = False, **kwargs): method current_icon (line 78) | def current_icon(self): method icon_path (line 82) | def icon_path(self): method icon_paths (line 91) | def icon_paths(self) -> Dict[type, Union[int, bytes]]: method draw_bulb_icon (line 99) | def draw_bulb_icon(self, bulb, label): method update_icon (line 130) | def update_icon(self, bulb: lifxlan.Device): method set_selected_bulb (line 188) | def set_selected_bulb(self, light_name): method clear_selected (line 211) | def clear_selected(self): FILE: lifx_control_panel/ui/settings.py class Dialog (line 56) | class Dialog(Toplevel): method __init__ (line 59) | def __init__(self, parent, title=None): method body (line 79) | def body(self, master): method buttonbox (line 82) | def buttonbox(self): method ok (line 96) | def ok(self, _=None): # pylint: disable=invalid-name method cancel (line 106) | def cancel(self, _=None): method validate (line 113) | def validate(self): # pylint: disable=no-self-use method apply (line 117) | def apply(self): class MultiListbox (line 121) | class MultiListbox(Frame): # pylint: disable=too-many-ancestors method __init__ (line 125) | def __init__(self, master, lists): method _select (line 154) | def _select(self, y): # pylint: disable=invalid-name method _button2 (line 161) | def _button2(self, x, y): # pylint: disable=invalid-name method _b2motion (line 166) | def _b2motion(self, x, y): # pylint: disable=invalid-name method _scroll (line 171) | def _scroll(self, *args): method curselection (line 176) | def curselection(self): method delete (line 180) | def delete(self, first, last=None): method get (line 185) | def get(self, first, last=None): method index (line 192) | def index(self, index): method insert (line 196) | def insert(self, index, *elements): method size (line 202) | def size(self): method see (line 206) | def see(self, index): method selection_anchor (line 211) | def selection_anchor(self, index): method selection_clear (line 215) | def selection_clear(self, first, last=None): method selection_includes (line 220) | def selection_includes(self, index): method selection_set (line 224) | def selection_set(self, first, last=None): class SettingsDisplay (line 230) | class SettingsDisplay(Dialog): method body (line 233) | def body(self, master): method validate (line 375) | def validate(self) -> int: method get_color (line 389) | def get_color(self): method register_keybinding (line 397) | def register_keybinding(self, bulb: str, keys: str, color: str): method on_keybind_keys_click (line 414) | def on_keybind_keys_click(self, event): method delete_keybind (line 428) | def delete_keybind(self): FILE: lifx_control_panel/ui/splashscreen.py class Splash (line 9) | class Splash: method __init__ (line 12) | def __init__(self, root, file): method __enter__ (line 20) | def __enter__(self): method __exit__ (line 50) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: lifx_control_panel/utilities/async_bulb_interface.py class AsyncBulbInterface (line 11) | class AsyncBulbInterface(threading.Thread): method __init__ (line 14) | def __init__(self, event, heartbeat_ms): method set_device_list (line 29) | def set_device_list( method query_device (line 59) | def query_device(self, target): method run (line 73) | def run(self): FILE: lifx_control_panel/utilities/audio.py class AudioInterface (line 29) | class AudioInterface: method __init__ (line 33) | def __init__(self): method init_audio (line 40) | def init_audio(self, config): method init_configured_device (line 53) | def init_configured_device(self, config): method get_stereo_mix_index (line 77) | def get_stereo_mix_index(self): method get_device_names (line 92) | def get_device_names(self): method get_music_color (line 100) | def get_music_color(self, initial_color, alpha=0.99): FILE: lifx_control_panel/utilities/color_thread.py function get_monitor_bounds (line 28) | def get_monitor_bounds(func): function get_screen_as_image (line 34) | def get_screen_as_image(): function get_rect_as_image (line 49) | def get_rect_as_image(bounds: Tuple[int, int, int, int]): function normalize_rectangles (line 62) | def normalize_rectangles(rects: List[Tuple[int, int, int, int]]): class ColorCycle (line 72) | class ColorCycle: method __init__ (line 73) | def __init__(self): method get_color (line 79) | def get_color(self, *args, **kwargs): method __call__ (line 88) | def __call__(self, initial_color): method __name__ (line 92) | def __name__(self): function avg_screen_color (line 96) | def avg_screen_color(initial_color, func_bounds=lambda: None): function dominant_screen_color (line 108) | def dominant_screen_color(initial_color, func_bounds=lambda: None): class ColorThread (line 138) | class ColorThread(threading.Thread): method __init__ (line 141) | def __init__(self, *args, **kwargs): method stop (line 145) | def stop(self): method stopped (line 149) | def stopped(self): class ColorThreadRunner (line 154) | class ColorThreadRunner: method __init__ (line 157) | def __init__(self, bulb, color_function, parent, continuous=True, **kw... method match_color (line 177) | def match_color(self, bulb): method start (line 201) | def start(self): method stop (line 212) | def stop(self): method get_duration (line 217) | def get_duration(): method get_brightness_offset (line 222) | def get_brightness_offset(): function install_thread_excepthook (line 227) | def install_thread_excepthook(): FILE: lifx_control_panel/utilities/keypress.py class KeybindManager (line 12) | class KeybindManager: method __init__ (line 15) | def __init__(self, master, sticky=False): method key_combo_code (line 24) | def key_combo_code(self) -> str: method register_function (line 28) | def register_function(self, key_combo, function): method unregister_function (line 38) | def unregister_function(self, key_combo): method _on_key_down (line 45) | def _on_key_down(self, event: keyboard.KeyboardEvent): method _on_key_up (line 53) | def _on_key_up(self, event: keyboard.KeyboardEvent): method shutdown (line 58) | def shutdown(self): method restart (line 62) | def restart(self): FILE: lifx_control_panel/utilities/utils.py class Color (line 12) | class Color: method __init__ (line 17) | def __init__(self, hue: int, saturation: int, brightness: int, kelvin:... method __getitem__ (line 23) | def __getitem__(self, item) -> int: method __len__ (line 26) | def __len__(self) -> int: method __setitem__ (line 29) | def __setitem__(self, key, value): method __str__ (line 32) | def __str__(self) -> str: method __repr__ (line 35) | def __repr__(self) -> str: method __eq__ (line 38) | def __eq__(self, other) -> bool: method __add__ (line 46) | def __add__(self, other): method __sub__ (line 54) | def __sub__(self, other): method __iter__ (line 57) | def __iter__(self): function hsbk_to_rgb (line 66) | def hsbk_to_rgb(hsvk: TypeHSBK) -> TypeRGB: function hsv_to_rgb (line 129) | def hsv_to_rgb(h: float, s: float = 1, v: float = 1) -> TypeRGB: function kelvin_to_rgb (line 159) | def kelvin_to_rgb(temperature: int) -> TypeRGB: function tuple2hex (line 189) | def tuple2hex(tuple_: TypeRGB) -> str: function str2list (line 194) | def str2list(string: str, type_func) -> List: function str2tuple (line 199) | def str2tuple(string: str, type_func) -> Tuple: function get_primary_monitor (line 206) | def get_primary_monitor() -> Tuple[int, ...]: function resource_path (line 213) | def resource_path(relative_path) -> Union[int, bytes]: function get_display_rects (line 224) | def get_display_rects():