Commit Graph

12 Commits

Author SHA1 Message Date
Susmit 8c180097cb Pep8 fixes for example directory. (#4814)
* fixed pep8 errors

* pep8 fixes forexamples directory

* some more pep8 fixes
2016-12-17 11:41:12 +02:00
Nathan Hyde c61cc96a87 First Widget tutorial - use class variables
* Correct whitespace issues in 6_button.py
* Make "painter" a class variable (self.painter)
* Reference `self.clear_canvas` when binding the clear button callback
* Call `self.painter.canvas.clear()` in button callback
* Adjust the number of parameters for callback method
2015-07-01 16:19:08 -07:00
Charles Merriam 02c30a4e9f Fix examples/ PEP8 errors. Mostly white space.
This fixes a large number of white space errors in the examples/
directory.
When I upgraded Makefile to check the 'make style' on the examples
directory,
the output was hundreds of lines long.   Currently, the output is
managable
and consists solely of "lines too long", as kv lines cannot be split.
This
commit touches an obscene number of files in trivial ways.
2015-02-01 17:09:20 -08:00
Intchanter 0172f6ae2a Minor grammar and punctuation fixes. 2013-08-11 05:38:58 +00:00
Mathieu Virbel bae94bc3db first 2to3 pass + manual fix for metaclass, UserDict and OrderedDict 2013-03-18 17:39:56 -06:00
Mathieu Virbel 70891fce3e firstwidget: update the firstwidget introduction to remove userdata, and use only touch.ud + enhance docs. #closes 726 2012-10-25 12:01:43 +02:00
gabriel.pettier 9c68e79665 remove all obsolete __android__ uses in __name__ tests 2012-07-29 21:43:01 +02:00
Edwin Marshall (aspidites) 5066e4f55e - added sane defaults to some properties 2012-05-20 14:20:26 -07:00
Alex Leighton a52c9c2e45 docs: fix spelling. 2012-01-25 23:26:30 -08:00
Mathieu Virbel e6239470b1 example: add the quickstart main.py in the examples directory 2011-06-06 16:39:49 +02:00
Mathieu Virbel 91db207124 doc: move firstwidget examples in examples/guide 2011-04-22 12:17:43 +02:00
Mathieu Virbel 7a0974dab5 doc: add "designing with kv" in user guide 2011-04-22 12:15:47 +02:00