5

I'm hide Gtk widget, then try to show it, but none of the methods "show()", "show_all()" or "show_now()" does't work. If not call "hide()" widget shows.

python 3.5.2
gtk3 3.20.8
pygobject-devel 3.20.1

test.py:

import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk

builder = Gtk.Builder()
builder.add_from_file("gui.glade")
infoBar = builder.get_object("infoBar")
window = builder.get_object("window")
window.show_all()

infoBar.hide()

infoBar.show()

Gtk.main()

gui.glade: http://pastebin.com/xKFt1v84

andlabs
  • 11,290
  • 1
  • 31
  • 52
Atterratio
  • 445
  • 2
  • 9
  • 25