Module Expr Str Import alias Expr Call AttributeLoad NameLoad attr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore ListComp SubscriptLoad NameLoad Slice Num comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad decorator_list For NameStore NameLoad body Assign SubscriptStore Call NameLoad Index NameLoad Call NameLoad NameLoad TupleLoad NameLoad Dict ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore CompareEq AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore TupleLoad Num Num Assign TupleStore NameStore NameStore NameLoad If BoolOpAnd NameLoad UnaryOpNot CompareIn NameLoad BinOpAdd Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num body If BoolOpOr CompareEq NameLoad ListLoad Str BoolOpAnd NameLoad CompareEq NameLoad ListLoad Str body If CompareEq NameLoad Call NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num If CompareEq NameLoad AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num TryExcept body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Call NameLoad NameLoad attr Str Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Call NameLoad keyword Num keyword Num keyword Num keyword Str Call NameLoad keyword Num keyword Num Call NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad Call NameLoad attr
N/A N/A 
Kivy Catalog
============

The Kivy Catalog viewer showcases widgets available in Kivy
and allows interactive editing of kivy language code to get immediate
feedback. You should see a two panel screen with a menu spinner button
(starting with 'Welcome') and other controls across the top.The left pane
contains kivy (.kv) code, and the right side is that code rendered. You can
edit the left pane, though changes will be lost when you use the menu
spinner button. The catalog will show you dozens of .kv examples controlling
different widgets and layouts.

The catalog's interface is set in the file kivycatalog.kv, while the
interfaces for each menu option are set in containers_kvs directory. To
add a new .kv file to the Kivy Catalog, add a .kv file into the container_kvs
directory and reference that file in the ScreenManager section of
kivycatalog.kv.

Known bugs include some issue with the drop
 N/A kivy N/A N/A N/A kivy require 1.4.2 N/A os N/A sys kivy.app App kivy.factory Factory kivy.lang Builder Parser ParserException kivy.properties ObjectProperty kivy.uix.boxlayout BoxLayout kivy.uix.codeinput CodeInput kivy.animation Animation kivy.clock Clock N/A CATALOG_ROOT N/A N/A N/A os path dirname __file__ N/A List of classes that need to be instantiated in the factory from .kv files.
 N/A CONTAINER_KVS N/A N/A N/A os path join CATALOG_ROOT container_kvs N/A CONTAINER_CLASSES N/A N/A c N/A -3 N/A c N/A N/A os listdir CONTAINER_KVS N/A N/A c endswith .kv Container N/A BoxLayout N/A N/A A container is essentially a class that loads its root from a known
    .kv file.

    The name of the .kv file is taken from the Container's class.
    We can't just use kv rules because the class may be edited
    in the interface and reloaded by the user.
    See :meth: change_kv where this happens.
     __init__ N/A N/A self N/A kwargs N/A N/A N/A N/A N/A super Container self __init__ kwargs N/A N/A self previous_text N/A N/A N/A open N/A self kv_file read N/A parser N/A Parser content N/A self previous_text N/A widget N/A N/A N/A Factory get N/A N/A parser root name N/A N/A N/A Builder _apply_rule widget N/A parser root N/A parser root N/A N/A N/A self add_widget widget N/A kv_file N/A N/A self N/A N/A N/A Get the name of the kv file, a lowercase version of the class
        name.
         N/A N/A N/A N/A os path join CONTAINER_KVS N/A N/A N/A self __class__ __name__ .kv N/A property N/A N/A class_name CONTAINER_CLASSES N/A N/A N/A N/A globals N/A class_name N/A type class_name N/A Container N/A KivyRenderTextInput N/A CodeInput N/A keyboard_on_key_down N/A N/A self window keycode text modifiers N/A N/A N/A is_osx N/A N/A sys platform darwin N/A N/A ctrl cmd N/A 64 1024 N/A N/A key key_str keycode N/A N/A text N/A N/A key N/A N/A list N/A N/A N/A self interesting_keys keys N/A 27 N/A N/A N/A N/A modifiers N/A ctrl N/A is_osx N/A modifiers N/A meta N/A N/A N/A key N/A ord s N/A N/A N/A N/A N/A self catalog change_kv True N/A N/A N/A N/A N/A super KivyRenderTextInput self keyboard_on_key_down window keycode text modifiers N/A N/A Catalog N/A BoxLayout N/A N/A Catalog of widgets. This is the root widget of the app. It contains
    a tabbed pain of widgets that can be displayed and a textbox where .kv
    language files for widgets being demoed can be edited.

    The entire interface for the Catalog is defined in kivycatalog.kv,
    although individual containers are defined in the container_kvs
    directory.

    To add a container to the catalog,
    first create the .kv file in container_kvs
    The name of the file (sans .kv) will be the name of the widget available
    inside the kivycatalog.kv
    Finally modify kivycatalog.kv to add an AccordionItem
    to hold the new widget.
    Follow the examples in kivycatalog.kv to ensure the item
    has an appropriate id and the class has been referenced.

    You do not need to edit any python code, just .kv language files!
     N/A language_box N/A ObjectProperty N/A screen_manager N/A ObjectProperty __init__ N/A N/A self N/A kwargs N/A N/A N/A self _previously_parsed_text N/A N/A N/A N/A super Catalog self __init__ kwargs N/A N/A N/A self show_kv None Welcome N/A N/A self carousel None N/A show_kv N/A N/A self instance value N/A N/A N/A Called when an a item is selected, we need to show the .kv language
        file associated with the newly revealed container. N/A N/A N/A self screen_manager current value N/A child N/A N/A N/A N/A self screen_manager current_screen children N/A 0 N/A N/A open N/A child kv_file rb file N/A N/A N/A N/A self language_box text N/A N/A N/A N/A file read decode utf8 N/A N/A N/A Clock unschedule N/A self change_kv N/A N/A N/A self change_kv N/A N/A N/A N/A self language_box reset_undo N/A schedule_reload N/A N/A self N/A N/A N/A N/A self auto_reload N/A N/A txt N/A N/A self language_box text N/A child N/A N/A N/A N/A self screen_manager current_screen children N/A 0 N/A N/A txt N/A child previous_text N/A N/A N/A N/A child previous_text txt N/A N/A N/A Clock unschedule N/A self change_kv N/A N/A N/A Clock schedule_once N/A self change_kv 2 N/A change_kv N/A N/A self N/A largs N/A N/A Called when the update button is clicked. Needs to update the
        interface for the currently active kv widget, if there is one based
        on the kv file the user entered. If there is an error in their kv
        syntax, show a nice popup. N/A txt N/A N/A self language_box text N/A kv_container N/A N/A N/A N/A self screen_manager current_screen children N/A 0 N/A N/A N/A parser N/A Parser content txt N/A N/A N/A kv_container clear_widgets N/A widget N/A N/A N/A Factory get N/A N/A parser root name N/A N/A N/A Builder _apply_rule widget N/A parser root N/A parser root N/A N/A N/A kv_container add_widget widget N/A N/A N/A N/A SyntaxError ParserException N/A e N/A N/A N/A N/A self show_error e N/A N/A Exception N/A e N/A N/A N/A N/A self show_error e N/A show_error N/A N/A self e N/A N/A N/A N/A N/A self info_label text N/A N/A N/A str e encode utf-8 N/A N/A self anim N/A N/A N/A Animation top 190.0 opacity 1 d 2 t in_back N/A Animation top 190.0 d 3 N/A Animation top 0 opacity 0 d 2 N/A N/A N/A N/A self anim start N/A self info_label N/A N/A KivyCatalogApp N/A App N/A N/A The kivy App that runs the main root. All we do is build a catalog
    widget into the root. build N/A N/A self N/A N/A N/A N/A Catalog N/A on_pause N/A N/A self N/A N/A N/A True N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A KivyCatalogApp run