Gallery#
- class pybmd.gallery.Gallery(gallery)[source]
Bases:
object
docstring for Gallery.
Methods
__init__
(gallery)Creates a new PowerGrade album.
Creates a new Still album.
get_album_name
(gallert_still_album)return the album name of the GalleryStillAlbum object
return the current GalleryStillAlbum object
Returns the gallery PowerGrade albums.
return a list of GalleryStillAlbum objects
set_album_name
(gallery_still_album, album_name)set the album name of the GalleryStillAlbum object
set_current_still_album
(gallery_still_album)set the current GalleryStillAlbum object
- get_album_name(gallert_still_album: GalleryStillAlbum) str [source]
return the album name of the GalleryStillAlbum object
- Parameters:
gallert_still_album (GalleryStillAlbum)
- Return type:
- get_current_still_album() GalleryStillAlbum [source]
return the current GalleryStillAlbum object
- Return type:
GalleryStillAlbum
- get_gallery_still_albums() List[GalleryStillAlbum] [source]
return a list of GalleryStillAlbum objects
- Return type:
List[GalleryStillAlbum]
- set_album_name(gallery_still_album: GalleryStillAlbum, album_name: str) bool [source]
set the album name of the GalleryStillAlbum object
- set_current_still_album(gallery_still_album: GalleryStillAlbum) bool [source]
set the current GalleryStillAlbum object
- Parameters:
gallery_still_album (GalleryStillAlbum) – gallery still album object to set as current
- Returns:
true if successful, false otherwise
- Return type:
- get_gallery_power_grade_albums() List[GalleryStillAlbum] [source]
Returns the gallery PowerGrade albums.
- Returns:
List of gallery PowerGrade album objects
- Return type:
List[GalleryStillAlbum]