Chris,
Thanks, it did not occur to me that the python code needed to change.
It now runs without error, but I am back to the problem that nothing I drop
onto the gtkBox is being displayed, meaning the menu, toolbar and status
bar.
Here is the new code:
from gi.repository import Gtk
class cncView:
def on_mainWindow_destroy(self, object, data=None):
print "quit with cancel"
Gtk.main_quit()
def on_quitImageMenuItem_activate(self, menuitem, data=None):
print "quit from menu"
Gtk.main_quit()
def __init__(self):
self.builder = Gtk.Builder()
self.builder.add_from_file("CNCRmt.glade")
self.builder.connect_signals(self)
self.window = self.builder.get_object("mainWindow")
self.window.show_all()
if __name__ == "__main__":
main = cncView()
Gtk.main()
Any ideas?
Thanks,
Eric
Ahh yes the python code changes for gtk3.
In fact I don't think its pygtk anymore...
look here:
http://python-gtk-3-tutorial.readthedocs.org/en/latest/builder.html
Not that I have tried it nor am an expert :) Hope that helps
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers