institution_old.py 文件源码

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

项目:smartschool 作者: asifkodur 项目源码 文件源码
def __set_properties(self):
        # begin wxGlade: Institution.__set_properties
        self.SetBackgroundColour(wx.Colour(47, 47, 47))
        self.SetTitle("Institution")
        self.SetSize((550, 303))
        self.SetFocus()
        self.label_1.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.label_2.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.text_ctrl_5.SetFont(wx.Font(7, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.text_ctrl_5.SetMinSize((250, 27))
        self.label_4.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.text_ctrl_6.SetFont(wx.Font(7, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))

        self.label_6.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.text_ctrl_1.SetMinSize((250, 27))
        self.label_7.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.text_ctrl_2.SetMinSize((250, 27))
        self.label_8.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.text_ctrl_3.SetMinSize((250, 27))
        self.button_1.SetMinSize((80, 33))
        self.button_2.SetMinSize((80, 33))


        self.button_1.SetBackgroundColour(wx.Colour(33, 137, 33))
        self.button_1.SetForegroundColour(wx.Colour(255, 255, 255))
        self.button_2.SetBackgroundColour(wx.Colour(33, 137, 33))
        self.button_2.SetForegroundColour(wx.Colour(255, 255, 255))

        self.label_1.SetForegroundColour(wx.Colour(255, 255, 255))
        self.label_2.SetForegroundColour(wx.Colour(255, 255, 255))
        self.label_4.SetForegroundColour(wx.Colour(255, 255, 255))
        self.label_6.SetForegroundColour(wx.Colour(255, 255, 255))
        self.label_7.SetForegroundColour(wx.Colour(255, 255, 255))
        self.label_8.SetForegroundColour(wx.Colour(255, 255, 255))
        # end wxGlade
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号