Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Kivy: Interactive Applications in Python

You're reading from  Kivy: Interactive Applications in Python

Product type Book
Published in Sep 2013
Publisher Packt
ISBN-13 9781783281596
Pages 138 pages
Edition 1st Edition
Languages
Author (1):
Roberto Ulloa Roberto Ulloa
Profile icon Roberto Ulloa

Table of Contents (13) Chapters

Kivy: Interactive Applications in Python
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. GUI Basics – Building an Interface 2. Graphics – The Canvas 3. Widget Events – Binding Actions 4. Improving the User Experience 5. Invaders Revenge – An Interactive Multitouch Game Index

Index

A

  • activate method / Simple gestures – drawing with the finger
  • add_circle method / Simple gestures – drawing with the finger
  • add_line method / Simple gestures – drawing with the finger
  • add_stickman method / Simple gestures – drawing with the finger
  • add_widget method / Localizing coordinates – adding stickmen
  • AliasProperty property / Kivy and properties
  • Ammo / Atlas – efficient management of images
    • about / Ammo – simple animation
  • ammo.py class code
    • about / Ammo – simple animation
  • AnchorLayout / Embedding layouts, Our Project – comic creator
  • anchor_x property / Embedding layouts
  • anchor_y property / Embedding layouts
  • angle_end property / Basic shapes
  • animations
    • combining, with + and & operators / Combining animations with '+' and '
  • App class / Hello World!
  • Atlas
    • about / Atlas – efficient management of images

B

  • basename parameter / Atlas – efficient management of images
  • Bezier
    • about / Basic shapes
    • URL / Basic shapes
  • binding events
    • about / Binding and unbinding events – sizing limbs and heads
    • in Kivy language / Binding events in the Kivy language
  • boom.py code
    • about / Boom – simple sound effects
  • BoxLayout / Layouts, Embedding layouts, Our Project – comic creator
  • Bum
    • about / Boom – simple sound effects

C

  • canvas
    • vertex_instructions / Basic shapes
    • context_instructions / Basic shapes
  • canvas.after
    • about / Images, colors, and backgrounds
  • canvas.before
    • about / Images, colors, and backgrounds
    / Comic creator – PushMatrix and PopMatrix, Color Control on the canvas – coloring figures
  • center_x property / Layouts
  • center_y property / Layouts
  • clear method / Binding events in the Kivy language
  • clear_widgets method / Binding events in the Kivy language
  • collide_ammo method
    • about / Shooter – multitouch control
  • collide_point / Basic widget events – dragging the stickman
  • color control
    • on canvas / Color Control on the canvas – coloring figures
  • ColorPicker / Screen manager – selecting colors for the figures
  • color property / Color Control on the canvas – coloring figures
  • colors
    • adding, to graphics / Images, colors, and backgrounds
  • color_picker attribute / Screen manager – selecting colors for the figures
  • cols property / Layouts
  • comic creator
    • PopMatrix / Comic creator – PushMatrix and PopMatrix
    • PushMatrix / Comic creator – PushMatrix and PopMatrix
  • ComicCreator / Our Project – comic creator
  • comiccreator.kv file / Comic creator – PushMatrix and PopMatrix, Attributes, id and root
  • comic creator project
    • about / Our Project – comic creator
  • comicwidgets.py file / Basic widget events – dragging the stickman
  • comic_creator attribute / Attributes, id and root
  • composed_animation method
    • about / Combining animations with '+' and '
  • context_instructions
    • about / Basic shapes
  • coordinates
    • localizing / Localizing coordinates – adding stickmen
  • counter property / Kivy and properties
  • create_figure method / Binding and unbinding events – sizing limbs and heads
  • create_widget method / Binding and unbinding events – sizing limbs and heads

D

  • dash_length / Basic shapes
  • dash_offset / Basic shapes
  • deactivate method / Simple gestures – drawing with the finger
  • discriminate method / Simple gestures – drawing with the finger
  • Dock
    • about / Dock – automatic binding in the Kivy language
  • down method / Simple gestures – drawing with the finger
  • DraggableWidget / Basic widget events – dragging the stickman, Binding and unbinding events – sizing limbs and heads, Binding events in the Kivy language
  • DraggableWidget instance / Basic widget events – dragging the stickman
  • drawing.kv code
    • about / Rotating, translating, and scaling
  • drawing.kv file
    • about / Images, colors, and backgrounds
  • DrawingSpace / Our Project – comic creator, Attributes, id and root, Binding and unbinding events – sizing limbs and heads
    • about / StencilView – limiting the drawing space
    • limiting / StencilView – limiting the drawing space
  • DrawingSpace subclass / Basic shapes
  • drawing_space attribute / Attributes, id and root
  • draw method / Localizing coordinates – adding stickmen, Binding and unbinding events – sizing limbs and heads

E

  • Ellipse
    • about / Basic shapes
  • end_figure method / Binding and unbinding events – sizing limbs and heads
  • end_game method
    • about / Combining animations with '+' and '
  • Enemy Area / Invaders Revenge – an animated multitouch game
  • events
    • creating / Creating your own events – the magical properties
    • scheduling, clock used / Scheduling events with the Clock
  • events policy
    • about / Basic widget events – dragging the stickman

F

  • finger
    • gestures, drawing with / Simple gestures – drawing with the finger
  • Fleet
    • about / Fleet – infinite concatenation of animations
    • fleet.py code / Fleet – infinite concatenation of animations
  • FloatLayout
    • example / Layouts
    • about / Layouts, Scatter – multitouching to drag, rotate, and scale
    / Embedding layouts
  • font_size property / Basic widgets – labels and buttons

G

  • GeneralOptions / Attributes, id and root
  • generaloptions.kv file / Comic creator – PushMatrix and PopMatrix
  • GeneralOptions class / Our Project – comic creator
  • GeneralOptions method / Binding events in the Kivy language
  • gestures
    • recording / Recording gestures – line, circles, and cross
    • drawing, with finger / Simple gestures – drawing with the finger
  • gesturize method / Simple gestures – drawing with the finger
  • go_left method / Fleet – infinite concatenation of animations
    • about / Fleet – infinite concatenation of animations
  • go_right method
    • about / Fleet – infinite concatenation of animations
  • graphics
    • images, adding / Images, colors, and backgrounds
    • colors, adding / Images, colors, and backgrounds
  • GridLayout / Layouts
  • Gridlayout / Our Project – comic creator

H

  • Height property / Layouts
  • Hello World program
    • about / Hello World!

I

  • images
    • adding, to graphics / Images, colors, and backgrounds
  • Invader
    • about / Invader – transitions for animations
    • invader.py code / Invader – transitions for animations
  • Invaders Revenge
    • about / Invaders Revenge – an animated multitouch game
  • invasion.kv / Invaders Revenge – an animated multitouch game

K

  • Kivy
    • and properties / Kivy and properties
  • kivy.uix
    • URL / Basic widgets – labels and buttons
  • Kivy API
    • URL / Kivy and properties

L

  • labels
    • about / Basic widgets – labels and buttons
  • layouts
    • about / Layouts
    • FloatLayout / Layouts
    • RelativeLayout / Layouts
    • GridLayout / Layouts
    • BoxLayout / Layouts
    • StackLayout / Layouts
    • embedding / Embedding layouts
  • line
    • about / Basic shapes
  • Line
    • about / Basic shapes

M

  • main.py code
    • about / Combining animations with '+' and '
  • minscore parameter / Simple gestures – drawing with the finger
  • min_and_max method / Simple gestures – drawing with the finger
  • MotionEvent / Basic widget events – dragging the stickman
  • move method / Simple gestures – drawing with the finger
  • msg_label attribute / Kivy and properties
  • multi-touch control
    • about / Shooter – multitouch control
  • MyButton class / Basic widgets – labels and buttons
  • MyGridLayout / Embedding layouts
  • MyWidget / Basic widgets – labels and buttons

O

  • on_children method / Simple gestures – drawing with the finger
  • on_keyboard_down method
    • about / Invasion – moving the shooter with the keyboard
  • on_progress method / Ammo – simple animation
  • on_start method / Ammo – simple animation
  • on_touch_down / Basic widget events – dragging the stickman
  • on_touch_down method
    • about / Shooter – multitouch control
  • on_touch_move / Basic widget events – dragging the stickman
  • on_touch_move method / Basic widget events – dragging the stickman
    • about / Shooter – multitouch control
  • on_touch_up / Basic widget events – dragging the stickman
  • on_touch_up event / Basic widget events – dragging the stickman
  • on_touch_up method / Basic widget events – dragging the stickman
  • on_translation method / Binding events in the Kivy language, Creating your own events – the magical properties
  • orientation property / Embedding layouts
  • origin property / Rotating, translating, and scaling

P

  • padding property / Embedding layouts
  • points property / Basic shapes
  • PopMatrix / Comic creator – PushMatrix and PopMatrix
  • Pos property / Layouts
  • pos_hint property / Layouts
  • PushMatrix / Comic creator – PushMatrix and PopMatrix
  • Python Imaging Library (PIL)
    • URL / Atlas – efficient management of images

Q

  • Quad
    • about / Basic shapes

R

  • relative / Localizing coordinates – adding stickmen
  • RelativeLayout / Layouts, Embedding layouts, Our Project – comic creator, Basic shapes, Comic creator – PushMatrix and PopMatrix
  • rgba property / Rotating, translating, and scaling
  • right property / Layouts
  • root variable / Basic widgets – labels and buttons
  • rotate
    • about / Rotating, translating, and scaling
  • rows property / Layouts

S

  • --size parameter / Hello World!
  • scale
    • about / Rotating, translating, and scaling
  • scatter
    • about / Scatter – multitouching to drag, rotate, and scale
  • ScatterLayout / Layouts
    • about / Scatter – multitouching to drag, rotate, and scale
  • schedule_events method
    • about / Fleet – infinite concatenation of animations
    / Scheduling events with the Clock
  • schedule_interval method / Scheduling events with the Clock
  • screen manager
    • about / Screen manager – selecting colors for the figures
  • ScreenManager / Screen manager – selecting colors for the figures
  • segments property
    • about / Basic shapes
  • select() method / Basic widget events – dragging the stickman
  • select method / Basic widget events – dragging the stickman
  • self.height property / Basic widgets – labels and buttons
  • shapes
    • about / Basic shapes
    • rectangle / Basic shapes
    • triangle / Basic shapes
    • line / Basic shapes
    • Quad / Basic shapes
    • Bezier / Basic shapes
  • shooter
    • moving, with keyboard / Invasion – moving the shooter with the keyboard
  • Shooter
    • about / Shooter – multitouch control
  • Shooter Area / Invaders Revenge – an animated multitouch game
  • shoot method / Scheduling events with the Clock
  • Size property / Layouts
  • size_hint property / Layouts
  • size_hint_x property / Layouts
  • size_hint_x property / Layouts
  • size_hint_y property / Layouts
  • solo_attack method / Invader – transitions for animations, Scheduling events with the Clock
  • SoundLoader
    • about / Boom – simple sound effects
  • spacing property / Embedding layouts
  • StackLayout / Layouts, Embedding layouts
  • start_attack method
    • about / Fleet – infinite concatenation of animations
  • start_game method
    • about / Invasion – moving the shooter with the keyboard
  • StatusBar / Attributes, id and root
  • statusbar.kv file / Comic creator – PushMatrix and PopMatrix
  • statusbar.kv file / Our Project – comic creator
  • StencilView / StencilView – limiting the drawing space
  • StickMan / Comic creator – PushMatrix and PopMatrix

T

  • text property / Hello World!
  • ToggleButton / Simple gestures – drawing with the finger
  • Toolbox / Attributes, id and root
  • ToolButton / Comic creator – PushMatrix and PopMatrix
  • ToolButton class / Our Project – comic creator
  • ToolButton object / Attributes, id and root
  • ToolCircle / Binding and unbinding events – sizing limbs and heads
  • ToolFigure class
    • about / Binding and unbinding events – sizing limbs and heads
    • draw methods / Binding and unbinding events – sizing limbs and heads
    • update_figure method / Binding and unbinding events – sizing limbs and heads
    • end_figure method / Binding and unbinding events – sizing limbs and heads
    • widgetize method / Binding and unbinding events – sizing limbs and heads
    • create_figure method / Binding and unbinding events – sizing limbs and heads
    • create_widget method / Binding and unbinding events – sizing limbs and heads
  • ToolLine / Binding and unbinding events – sizing limbs and heads
  • top property / Layouts
  • to_dock method
    • about / Invader – transitions for animations
  • to_local() method / Localizing coordinates – adding stickmen
  • to_parent() method / Localizing coordinates – adding stickmen
  • to_widget() method / Localizing coordinates – adding stickmen
  • to_window() method / Localizing coordinates – adding stickmen
  • translate
    • about / Rotating, translating, and scaling
  • translate method / Basic widget events – dragging the stickman
  • triangle
    • about / Basic shapes
  • triangle_fan / Basic shapes

U

  • unbinding events
    • about / Binding and unbinding events – sizing limbs and heads
  • unselect_all method / Binding events in the Kivy language
  • update_figure method / Binding and unbinding events – sizing limbs and heads
  • up method / Simple gestures – drawing with the finger

V

  • vertex_instructions
    • about / Basic shapes
  • vertices property / Basic shapes

W

  • Widget$ ToggleButton / Our Project – comic creator
  • widget events
    • on_touch_down / Basic widget events – dragging the stickman
    • on_touch_move / Basic widget events – dragging the stickman
    • on_touch_up / Basic widget events – dragging the stickman
  • widgetize method / Binding and unbinding events – sizing limbs and heads
  • Widget subclass / Layouts
  • Width property / Layouts
  • Window._request_keyboard method
    • about / Invasion – moving the shooter with the keyboard
  • Window class
    • about / Invader – transitions for animations

X

  • x, right, or center_x property / Layouts
  • x property / Layouts

Y

  • y property / Layouts
lock icon The rest of the chapter is locked
arrow left Previous Chapter
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}