Source

kivy-catalog / main.py

Author Commit Message Labels Comments Date
Dusty Phillips
Add listeners to the tab headers so the kv box gets the right content on tab change
Dusty Phillips
Encode text to UTF8 because the parser chokes
Dusty Phillips
If bad stuff happens, display the error on the console
Dusty Phillips
Less explosive if the kivy parser crashes.
Dusty Phillips
Document how to add a new demo
Dusty Phillips
Put the kv files in a directory and name them after the classes. Now the list of available classes is created dynamically simply based on the existence of a .kv file.
Dusty Phillips
Create the container classes automatically instead of having a shit-ton of silly class Blah(Container): pass constructs. Horray for metaprogramming.
Dusty Phillips
docstrings for the win\!
Dusty Phillips
Introspect the kvfilename from the class name. Metaprogramming rocks.
Dusty Phillips
Use a metaclass to automatically register each container class in the Factory.
Dusty Phillips
Add a representation of the anchor layout.
Dusty Phillips
Eliminate silly multiple inheritance by adding a widget to a box instead of trying to apply the root to the parent
Dusty Phillips
Add a float layout demo
Dusty Phillips
When parsing the user-entered kivylanguage markup fails, show a nice box instead of crashing.
Dusty Phillips
Connect to the on_press instead of on_touch_down so only that button is interpreted as a click
Dusty Phillips
Allow editing of .kv file and render.
Dusty Phillips
Render the BoxLayoutContainer from a kv file that has a root rather than a rule, so it can be editable
Dusty Phillips
Demonstrate how it's possible to replace a widget with another
Dusty Phillips
Use *args syntax instead of tuple unpacking. I'm learning that the .kv language is awesomer than I expected
Dusty Phillips
Displaying the first ever .kv file alongside it's display
Dusty Phillips
Try to get a custom widget rendering from inside the kivy file
Dusty Phillips
Start fleshing out the interface in preparation for demoing layouts.