예제 #1
0
 def EditClicked(self, event=None):
     dlg = ib.ImageDialog(self, get_picture_dir())
     dlg.Centre()
     if dlg.ShowModal() == wx.ID_OK:
         self.iconpath = dlg.GetFile()
         self.process_input()
     else:
         pass
     dlg.Destroy()
예제 #2
0
 def EditClicked(self, event=None):
     dlg = ib.ImageDialog(self, get_picture_dir())
     dlg.Centre()
     if dlg.ShowModal() == wx.ID_OK:
         self.iconpath = dlg.GetFile()
         self.process_input()
     else:
         pass
     dlg.Destroy()
예제 #3
0
 def OnIconButton(self, evt):
     # open the image browser dialog
     dlg = ib.ImageDialog(self, get_picture_dir())
     dlg.Centre()
     if dlg.ShowModal() == wx.ID_OK:
         self.iconpath = dlg.GetFile()
         self.process_input()
     else:
         pass
     dlg.Destroy()
예제 #4
0
 def OnIconButton(self, evt):
     # open the image browser dialog
     dlg = ib.ImageDialog(self, get_picture_dir())
     dlg.Centre()
     if dlg.ShowModal() == wx.ID_OK:
         self.iconpath = dlg.GetFile()
         self.process_input()
     else:
         pass
     dlg.Destroy()
예제 #5
0
 def test_picture_dir(self):
     picture_dir = get_picture_dir()
     self.assertIsInstance(picture_dir, unicode)
     self.assertTrue(os.path.isdir(picture_dir))
예제 #6
0
 def test_picture_dir(self):
     picture_dir = get_picture_dir()
     self.assertIsInstance(picture_dir, unicode)
     self.assertTrue(os.path.isdir(picture_dir))
예제 #7
0
 def test_picture_dir(self):
     picture_dir = get_picture_dir()
     self.assertIsInstance(picture_dir, six.text_type)
     self.assertTrue(os.path.isdir(picture_dir))
예제 #8
0
 def test_picture_dir(self):
     picture_dir = get_picture_dir()
     self.assertIsInstance(picture_dir, six.text_type)
     self.assertTrue(os.path.isdir(picture_dir))