def show_playlist_manager(self, object_id, genre_id, is_album): view = PlaylistsManageView(object_id, genre_id, is_album, self._stack.get_allocated_width()/2) view.show() self._stack.add(view) self._stack.set_visible_child(view) start_new_thread(view.populate, ())
def show_playlist_manager(self, object_id, genre_id, is_album): """ Show playlist manager for object_id Current view stay present in ViewContainer @param object id as int @param genre id as int @param is_album as bool """ view = PlaylistsManageView(object_id, genre_id, is_album) view.populate() view.show() self._stack.add(view) self._stack.set_visible_child(view)
def show_playlist_manager(self, object_id, genre_id, is_album): """ Show playlist manager for object_id Current view stay present in ViewContainer @param object id as int @param genre id as int @param is_album as bool """ view = PlaylistsManageView(object_id, genre_id, is_album) view.populate() view.show() self._stack.add(view) self._stack.set_visible_child(view)
def show_playlist_manager(self, object_id, genre_ids, artist_ids, is_album): """ Show playlist manager for object_id Current view stay present in ViewContainer @param object id as int @param genre ids as [int] @param artist ids as [int] @param is_album as bool """ current = self.__stack.get_visible_child() view = PlaylistsManageView(object_id, genre_ids, artist_ids, is_album) view.populate() view.show() self.__stack.add(view) self.__stack.set_visible_child(view) current.disable_overlays()
def show_playlist_manager(self, object_id, genre_ids, artist_ids, is_album): """ Show playlist manager for object_id Current view stay present in ViewContainer @param object id as int @param genre ids as [int] @param artist ids as [int] @param is_album as bool """ from lollypop.view_playlists import PlaylistsManageView current = self.__stack.get_visible_child() view = PlaylistsManageView(object_id, genre_ids, artist_ids, is_album) view.populate() view.show() self.__stack.add(view) self.__stack.set_visible_child(view) current.disable_overlay()