This file documents/summarizes the classes, methods, and functions in various enable base files. Public attributes and methods are indicated (with return values). Significant protected attributes and methods are prefaced with "_". Note: There are some attributes and methods on components that are part of new-style layout. These are not documented here yet. Interactor event_state pointer tooltip cursor_style cursor_color accepts_focus auto_handle_event dispatch(event, suffix) _dispatch_stateful_event(event, suffix) CoordinateBox position bounds x, y, x2, y2 width, height Component(CoordinateBox, Interactor) container window viewports outer_{position, bounds, x, y, x2, y2, width, height} padding, hpadding, vpadding padding_{left, right, top, bottom} padding_accepts_focus border_width border_visible border_dash border_color bgcolor request_redraw() draw(gc) is_in(x, y) -> bool get_absolute_coords(*coords) -> (x, y) set_outer_position(ndx, val) set_outer_bounds(ndx, val) cleanup(window) _request_redraw() _draw(gc) Container(Component) components auto_size fit_window add(component) remove(component) insert(index, component) components_at(x, y, add_containers=False) -> [components] cleanup() compact() _draw_container(gc, mode) _component_bounds_changed(component) _component_position_changed(component) Viewport(Component) component view_position view_bounds stay_inside bgcolor components_at(x, y, add_containers=False) -> [components] # ----- Event handling stuff ------------------------------------------------ BasicEvent x y handled window push_xy(x, y) pop() offset_xy(x, y) MouseEvent(BasicEvent) alt_down control_down shift_down left_down middle_down right_down mouse_wheel DragEvent(BasicEvent) x0 y0 copy obj start_event KeyEvent(BasicEvent) character alt_down control_down shift_down