kivy/kivy — pull request #551 by duelafn (2012-07-03 12:39:52+00:00)
Title: WISHLIST: Allow "from kivy.uix import *" to import all stable uix elements

import all non-experimental widgets into kivy.uix to make widget importing easier (hey, I'm lazy). Thus, now the following are possible:

from kivy.uix import Label, Button, FloatLayout
from kivy.uix import * # all stable widgets

I am new to python, but as I understand, there is currently no easy way to import all or many widgets without using separate import lines for each (which I find tedious), hence this patch. Since you already define `__all__` in each of your widget modules, the `*` imports should be safe. Further I have only included widgets that are not marked "experimental" to protect the innocent.

Feel free to reject this patch if you find it exceedingly distasteful or do not want to maintain the list of imports in `uix/__init__.py`. However, I personally would find the importing convenience worth it.