my python code is:
gtk = CDLL('/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so')
builder = gtk.gtk_builder_new()
print gtk.gtk_builder_add_from_file(builder, './mainui.glade', None)
I tested the c code, it works. But with python ctype, the result of gtk_builder_add_from_file is always 0, e.g there is an error. I'm very confused..