Can't use lable in gtk3
Question: I can't use lable in gtk3(python3), it does not work and does not give an
error.

This is my try:

    
    
    from gi.repository import Gtk
    window = Gtk.Window(title="About")
    window.set_border_width(10)
    window.connect("destroy", lambda w: Gtk.main_quit())
    hbox = Gtk.Box(spacing=6)
    window.add(hbox)
    lbl=gtk.Label("add")
    hbox.pack_start(lbl, True, True, 0)
    lbl2=gtk.Label("add")
    hbox.pack_start(lbl2, True, True, 0)
    lbl3=gtk.Label("add")
    hbox.pack_start(lbl3, True, True, 0)
    lbl4=gtk.Label("add")
    hbox.pack_start(lbl4, True, True, 0)
    def ex(button1):
      exit()
    button2 = Gtk.Button.new_with_label("Exit")
    button2.connect("clicked", ex)
    hbox.pack_start(button2, True, True, 0)
    window.show_all()
    Gtk.main()
    

What is wrong?


Answer: You use the identifier `gtk` without previously defining it. You probably
meant to say `Gtk` instead. Remember: Python identifiers are case-sensitive.

After fixing that error, I get this, presumably correct, result:

[![enter image description
here](http://i.stack.imgur.com/qBX3M.png)](http://i.stack.imgur.com/qBX3M.png)

