I've never use GladeVCP but, from what I remember about gtk C bare programing, you should make sure that any graphical object that you place has a "show". So, just in case, check that you are some how instantiating the show for the elements that you place in the gtkBox, an the gtkBox Itself.
I remember that you can, at runtime, make a element not to show and to reshow it, without having to delete and recreate that element, using the hide/ show mechanism. Theoretically you can call (from gtkbox documentation) show_all<http://developer.gnome.org/gtkmm/stable/classGtk_1_1Widget.html#a4fab2509c3afe1952a408494561295c0> Recursively shows a widget, and any child widgets (if the widget is a container). gtkox is a container. Nevertheles is look logical to get the gtkbox shown when calling the show_all of the window containing the gtk_box, as you are doing. Just in case check too if there is a flag in Glade that makes the elements. Good luck, Javier On Sat, Oct 20, 2012 at 8:01 PM, Eric H. Johnson <ejohn...@camalytics.com>wrote: > 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 > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ 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 Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers