dialog_PeripheralSetting.py 文件源码

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

项目:Farmbot_GeneralAP 作者: SpongeYao 项目源码 文件源码
def __init__(self, master, arg_PinList=[('',0)]):
        print 'init'
        strFont= 'Arial'
        self.__myfont12 = tkFont.Font(family=strFont, size=12)
        self.__myfont12_Bold = tkFont.Font(family=strFont, size=12, weight= tkFont.BOLD)
        self.__myfont10 = tkFont.Font(family=strFont, size=10)
        self.__myfont10_Bold = tkFont.Font(family=strFont, size=10, weight= tkFont.BOLD)
        self.__PinList= arg_PinList
        self.__MaxRow= 7
        self.__CurrentRow= len(arg_PinList)
        self.__CurGridRow= self.__CurrentRow
        self.__NumberList= range(0, self.__MaxRow+1)
        self.__entries_Func= [0]
        self.__entries_PinNumb= [0]
        self.__btns_clear=[0]
        #self.master= master
        tkSimpleDialog.Dialog.__init__(self, master, "Peripherals")
    # ########################################
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号