file.py 文件源码

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

项目:garden.xpopup 作者: kivy-garden 项目源码 文件源码
def _ctrls_init(self):
        pnl_controls = BoxLayout(size_hint_y=None, height=metrics.dp(25))
        pnl_controls.add_widget(Factory.XButton(
            text=_('Icons'), id=self.CTRL_VIEW_ICON,
            on_release=self._ctrls_click))
        pnl_controls.add_widget(Factory.XButton(
            text=_('List'), id=self.CTRL_VIEW_LIST,
            on_release=self._ctrls_click))
        pnl_controls.add_widget(Factory.XButton(
            text=_('New folder'), id=self.CTRL_NEW_FOLDER,
            on_release=self._ctrls_click))
        return pnl_controls
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号