- self.pack_start @cntrlBtnBox, false
- self.pack_start @statusLblBox
+ @infoBoxWin.add_with_viewport @infoBox
+ @statusLblBoxWin.add_with_viewport @statusLblBox
+ @upperBox.pack_start @cntrlBtnBox, false
+ @upperBox.pack_start @infoBoxWin
+ @upperBox.pack_start @statusLblBoxWin
+
+ @playlistTextRenderer = Gtk::CellRendererText.new
+ @playlistView = Gtk::TreeView.new
+ @playlistList = Gtk::ListStore.new( String, String, String )
+ @playlistColumns = [ 'id', 'artist', 'title' ]
+ @playlistColumns.each_with_index do |tag, index|
+ @playlistView.append_column Gtk::TreeViewColumn.new( tag, @playlistTextRenderer, :text => index )
+ end
+ @playlistViewWin.add @playlistView
+
+ self.pack_start @upperBox