#NEWLINE# def set_stream( self , index , stream ) : #NEWLINE# #INDENT# self . _buttons [ index ] . select ( ) #NEWLINE# self . setWindowTitle ( '{} | {}' . format ( self . _title , CoubAPI . STREAM_NAMES [ index ] . upper ( ) ) ) #NEWLINE# self . _posts . insertLayout ( 1 , stream ) #NEWLINE# self . _stream = self