ElementParameterDictionaryInputView.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:pythonista-scripts 作者: khilnani 项目源码 文件源码
def get_view(thememanager, dictionary={}, title='Dictionary', cb=None):
    dicti = dictionary
    if dicti == None:
     dicti = {}
    dbo.dictionary=dicti
    dbo.thememanager = thememanager
    table_view.name = title
    table_view.data_source = dbo
    table_view.delegate = dbo
    table_view.right_button_items = [ui.ButtonItem(title='Add', action = add_item), ui.ButtonItem(title='Save', action=cb)]
    table_view.background_color=thememanager.main_background_colour
    return table_view
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号