From 42d98b20d1bf58a3ed24eac81449102f053ab59f Mon Sep 17 00:00:00 2001 From: Zen-CODE Date: Tue, 11 Feb 2014 22:18:57 +0200 Subject: [PATCH] doc: added warning for ordering of dynamic classes --- kivy/lang.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kivy/lang.py b/kivy/lang.py index b07074550..3592a8f87 100755 --- a/kivy/lang.py +++ b/kivy/lang.py @@ -406,6 +406,12 @@ In Python, you can create an instance of the dynamic class as follows: from kivy.factory import Factory button_inst = Factory.ImageButton() +.. note:: + + Using dynamic classes, a child class can be declared before it's parent. + This however, leads to the unintuitive situation where the parent + properties/methods override those of the child. Be careful if you choose + to do this. .. _template_usage: