Browse files

Added section titles that spell out which files the code and layout g…

…o in.

I got a little lost working through this example because I made an incorrect assumption about the filename needed for controller.kv. The goal to this change is to draw more attention to the filename and keep future users from making the same mistake.
  • Loading branch information...
1 parent 54dd5f5 commit 4fb4ceab69b79b78f2833f431f376942624ff519 @edthedev edthedev committed Oct 3, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 doc/sources/guide/designwithkv.rst
@@ -6,6 +6,9 @@
Designing with the Kivy Language
+The code goes in
Let's start with a little example. First, the Python file named ``:
.. include:: ../../../examples/guide/designwithkv/
@@ -20,6 +23,9 @@ In addition, we are creating a ``do_action()`` method, that will use both of
these properties. It will change the ``info`` text, and change text in the
``label_wid`` widget.
+The layout goes in controller.kv
Executing this application without a corresponding `.kv` file will work, but
nothing will be shown on the screen. This is expected, because the
``Controller`` class has no widgets in it, it's just a ``FloatLayout``. We can

0 comments on commit 4fb4cea

Please sign in to comment.