from gi.repository import Gtk

window = Gtk.Window()
infobar = Gtk.InfoBar()
label = Gtk.Label("aoeudnstaoeuh nsaoteh usnaoteh uasnot ehusanoteh usanoteh uosnetuh aose")

infobar.add_button("foo", Gtk.ResponseType.YES)
infobar.add_button("bar", Gtk.ResponseType.NO)
infobar.get_content_area().add(label)

#infobar.get_action_area().set_orientation(Gtk.Orientation.HORIZONTAL)


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