def show_playlist_editor(self, playlist_name): view = PlaylistEditView(playlist_name, 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_editor(self, playlist_name): view = PlaylistEditView(playlist_name, 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_editor(self, playlist_name): """ Show playlist editor for playlist Current view stay present in ViewContainer @param playlist name as str """ view = PlaylistEditView(playlist_name) view.show() self._stack.add(view) self._stack.set_visible_child(view) view.populate()
def show_playlist_editor(self, playlist_name): """ Show playlist editor for playlist Current view stay present in ViewContainer @param playlist name as str """ view = PlaylistEditView(playlist_name, 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_editor(self, playlist_id): """ Show playlist editor for playlist Current view stay present in ViewContainer @param playlist id as int @param playlist name as str """ from lollypop.view_playlists import PlaylistEditView view = PlaylistEditView(playlist_id) view.show() self.__stack.add(view) self.__stack.set_visible_child(view) self.__stack.clean_old_views(view) view.populate()
def show_playlist_editor(self, playlist_id): """ Show playlist editor for playlist Current view stay present in ViewContainer @param playlist id as int @param playlist name as str """ view = PlaylistEditView(playlist_id) view.show() self._stack.add(view) self._stack.set_visible_child(view) view.populate()
def show_playlist_editor(self, playlist_name): """ Show playlist editor for playlist Current view stay present in ViewContainer @param playlist name as str """ view = PlaylistEditView(playlist_name, self._stack.get_allocated_width()/2) view.show() self._stack.add(view) self._stack.set_visible_child(view) view.populate()