I'm trying to create multiple threading in my GTK glade, which requires Gtk.gdk but i received error about gdk.
Code: Select all
try:
import pygtk
pygtk.require("2.0")
except:
pass
try:
from gi.repository import Gtk
except:
print("GTK Not Available")
sys.exit(1)
Gtk.gdk.threads_init()Any Ideas? ThanksAttributeError: ' gi.repository import Gtk' object has no attribute 'gdk'