#!/usr/bin/python

from gi.repository import Gtk

window = Gtk.Window(default_width=160, default_height=120)

listbox = Gtk.ListBox()
listbox.add(Gtk.Label(label="Line One"))
listbox.add(Gtk.Label(label="Line Two"))
listbox.add(Gtk.Label(label="Line Three"))
listbox.add(Gtk.Label(label="Line Four"))
listbox.add(Gtk.Label(label="Line Five"))
listbox.add(Gtk.Label(label="Line Six"))
listbox.add(Gtk.Label(label="Line Seven"))
listbox.add(Gtk.Label(label="Line Eight"))

scrolled_window = Gtk.ScrolledWindow()
scrolled_window.add(listbox)
window.add(scrolled_window)
window.show_all()

window.connect("delete-event", Gtk.main_quit)
Gtk.main()
