gtk tooltips and toolbutton

Discussion in 'Python' started by Sandro Dentella, Mar 29, 2006.

  1. Hi all,

    Why doesn't the tooltip show up in this toolbutton?
    Thanks in advance

    import gtk

    w = gtk.Window()
    T = gtk.Toolbar()
    T.set_show_arrow(False)

    tb = gtk.ToolButton('gtk-refresh')

    tt = gtk.Tooltips()
    tt.set_tip(tb, "tooltip...")

    w.add(T)
    T.add(tb)
    w.show_all()
    gtk.main()



    --
    Sandro Dentella *:)
    http://www.tksql.org TkSQL Home page - My GPL work
    Sandro Dentella, Mar 29, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Frank
    Replies:
    2
    Views:
    499
    BootNic
    Dec 7, 2006
  2. cypher543
    Replies:
    2
    Views:
    334
    Hendrik van Rooyen
    Dec 29, 2006
  3. Replies:
    2
    Views:
    509
  4. Gergely Kontra
    Replies:
    2
    Views:
    242
    Joao Pedrosa
    Jun 18, 2004
  5. Alex Shulgin
    Replies:
    1
    Views:
    170
    thefed
    Nov 21, 2007
Loading...

Share This Page