예제 #1
0
 def test_icon_path(self):
     """Verify correct main application icon path"""
     icon_path = os.path.join(self.app_path, 'resources', 'icons',
                              'a7117_64.png')
     self.assertEqual(icon_path, pathfinder.icon_path())
예제 #2
0
 def test_icon_path(self):
     """Verify correct main application icon path"""
     icon_path = os.path.join(self.app_path, 'resources', 'icons', 'a7117_64.png')
     self.assertEqual(icon_path, pathfinder.icon_path())
예제 #3
0
 def get_icon_bmp(self):
     """Returns a PNG wx.Bitmap of the application's
     default icon"""
     icon_bmp_path = pathfinder.icon_path()
     return wx.Bitmap(icon_bmp_path, wx.BITMAP_TYPE_PNG)
예제 #4
0
 def get_icon_bmp(self):
     """Returns a PNG wx.Bitmap of the application's
     default icon"""
     icon_bmp_path = pathfinder.icon_path()
     return wx.Bitmap(icon_bmp_path, wx.BITMAP_TYPE_PNG)