コード例 #1
0
ファイル: run_test.py プロジェクト: littlezz/IslandCollection
 def test(self):
     from gui.second.frames import ResultInfo, RowFrame
     im = Image.open('gui/images_test/1.png')
     r = ResultInfo(text='test', link='http://example.com', response_num=20, image_fp=im)
     RowFrame(self, **r.as_dict()).pack()
コード例 #2
0
ファイル: run_test.py プロジェクト: littlezz/IslandCollection
    def test(self):
        from gui.second.frames import ResultInfo, RowFrame

        r = ResultInfo(text='test', link='http://example.com', response_num=20, image_url='https://www.baidu.com/img/bd_logo1.png')
        RowFrame(self, **r.as_dict()).pack()
        self.set_destroy_time(3500)
コード例 #3
0
ファイル: run_test.py プロジェクト: littlezz/IslandCollection
 def test(self):
     from gui.second.frames import ResultInfo, RowFrame
     r = ResultInfo(text='test', link='http://example.com', response_num=20)
     RowFrame(self, **r.as_dict()).pack()