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
ElementParameterDictionaryInputView.py 文件源码
python
阅读 16
收藏 0
点赞 0
评论 0
评论列表
文章目录