コード例 #1
0
 def __init__(self, album):
     """
         Init search
         @param album as Album
     """
     ArtworkSearchWidget.__init__(self)
     self.__album = album
コード例 #2
0
 def __init__(self, name):
     """
         Init search
         @param name as str
     """
     ArtworkSearchWidget.__init__(self)
     self.__name = name
コード例 #3
0
 def __init__(self, artist_id):
     """
         Init search
         @param artist_id as int
     """
     ArtworkSearchWidget.__init__(self)
     self.__artist = App().artists.get_name(artist_id)
コード例 #4
0
 def __init__(self, album, view_type, in_menu=False):
     """
         Init search
         @param album as Album
         @param view_type as ViewType
     """
     ArtworkSearchWidget.__init__(self, view_type)
     self.__album = album
コード例 #5
0
 def __init__(self, artist_id, view_type, in_menu=False):
     """
         Init search
         @param artist_id as int
         @param view_type as ViewType
     """
     ArtworkSearchWidget.__init__(self, view_type)
     self.__artist = App().artists.get_name(artist_id)