Widgets¶ ActivityIndicator Usage Notes Reference ActivityIndicator enabled focus() is_running start() stop() Button Usage Notes Reference Button icon on_press text OnPressHandler __call__() Canvas Usage Notes Reference Canvas ClosedPath() Context() Fill() Stroke() as_image() context enabled focus() measure_text() on_activate on_alt_drag on_alt_press on_alt_release on_drag on_press on_release on_resize redraw() Context ClosedPath() Context() Fill() Stroke() __getitem__() __len__() append() arc() begin_path() bezier_curve_to() canvas clear() close_path() ellipse() fill() insert() line_to() move_to() quadratic_curve_to() rect() redraw() remove() reset_transform() rotate() scale() stroke() translate() write_text() DrawingObject ClosedPathContext FillContext color StrokeContext color OnTouchHandler __call__() OnResizeHandler __call__() DateInput Usage Notes Reference DateInput max min on_change value OnChangeHandler __call__() DetailedList Usage Notes Reference DetailedList accessors data enabled focus() missing_value on_primary_action on_refresh on_secondary_action on_select scroll_to_bottom() scroll_to_row() scroll_to_top() selection OnPrimaryActionHandler __call__() OnSecondaryActionHandler __call__() OnRefreshHandler __call__() OnSelectHandler __call__() Divider Usage Reference Divider HORIZONTAL VERTICAL direction enabled focus() ImageView Usage Notes Reference ImageView as_image() enabled focus() image Label Usage Notes Reference Label focus() text MapView Usage System requirements Notes Reference MapView location on_select pins zoom MapPin location subtitle title MapPinSet add() clear() remove() OnSelectHandler __call__() MultilineTextInput Usage Notes Reference MultilineTextInput on_change placeholder readonly scroll_to_bottom() scroll_to_top() value OnChangeHandler __call__() NumberInput Usage Reference NumberInput max min on_change readonly step value OnChangeHandler __call__() PasswordInput Usage Notes Reference PasswordInput ProgressBar Usage Notes Reference ProgressBar enabled is_determinate is_running max start() stop() value Selection Usage Notes Reference Selection items on_change value Slider Usage Reference Slider max min on_change on_press on_release tick_count tick_step tick_value value OnChangeHandler __call__() OnPressHandler __call__() OnReleaseHandler __call__() Switch Usage Notes Reference Switch on_change text toggle() value OnChangeHandler __call__() Table Usage Notes Reference Table accessors append_column() data enabled focus() headings insert_column() missing_value multiple_select on_activate on_select remove_column() scroll_to_bottom() scroll_to_row() scroll_to_top() selection OnSelectHandler __call__() OnActivateHandler __call__() TextInput Usage Notes Reference TextInput is_valid on_change on_confirm on_gain_focus on_lose_focus placeholder readonly validators value OnChangeHandler __call__() OnConfirmHandler __call__() OnGainFocusHandler __call__() OnLoseFocusHandler __call__() TimeInput Usage Notes Reference TimeInput max min on_change value OnChangeHandler __call__() Tree Usage Notes Reference Tree accessors append_column() collapse() data enabled expand() focus() headings insert_column() missing_value multiple_select on_activate on_select remove_column() selection OnSelectHandler __call__() OnActivateHandler __call__() WebView Usage System requirements Notes Reference WebView cookies evaluate_javascript() load_url() on_webview_load set_content() url user_agent OnWebViewLoadHandler __call__() Widget Reference Widget add() app applicator can_have_children children clear() enabled focus() id index() insert() parent refresh() remove() replace() root style tab_index window PackMixin