mirror of https://github.com/kivy/kivy.git
doc: added warning for ordering of dynamic classes
This commit is contained in:
parent
3df723b85b
commit
42d98b20d1
|
@ -406,6 +406,12 @@ In Python, you can create an instance of the dynamic class as follows:
|
||||||
from kivy.factory import Factory
|
from kivy.factory import Factory
|
||||||
button_inst = Factory.ImageButton()
|
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:
|
.. _template_usage:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue