-
Book Overview & Buying
-
Table Of Contents
Kivy: Interactive Applications in Python
By :
We have covered most of the topics related to event handling in this chapter. You have learned how to override different kind of events, dynamic binding and unbinding, assigning events in the Kivy language, and creating our own. You also learned about Kivy properties, how to manage the localization of coordinates to different widgets, and many methods related to adding, removing, and updating objects of the Kivy Widget and canvas. Here are the events, methods, properties, and attributes that were covered:
The events: on_touch_up, on_touch_move and on_touch_down (of Widget); on_press and on_release (of Button) and on_state (of ToggleButton)
The attributes x and y of a MotionEvent (touch); center_x, center_y, canvas, parent, children of Widget and state of ToggleButton.
The following methods of Widget:
bind and unbind to attach events dynamically
collide_points, to_parent, to_local, to_window, and to_widget to work with coordinates
add_widget, remove_widget, and clear_widgets to dynamically...
Change the font size
Change margin width
Change background colour