Glade
- Create the application directory as normal.
- Save the glade file as interface.glade inside it.
- Call rox.toplevel_ref() and _unref() manually.
A sample starting file might look like this:
#!/usr/bin/env python import findrox; findrox.version(1, 9, 9) import rox, os import gtk.glade gladefile = os.path.join(rox.app_dir, 'interface.glade') wTree = gtk.glade.XML(gladefile, 'window1') wTree.get_widget('window1').connect('destroy', rox.toplevel_unref) rox.toplevel_ref() rox.mainloop()
Perhaps someone who uses glade could extend this tutorial?
»
- Printer-friendly version
- Login to post comments
Recent comments
2 years 8 weeks ago
2 years 17 weeks ago
3 years 1 week ago
3 years 5 weeks ago
3 years 9 weeks ago
3 years 10 weeks ago
3 years 10 weeks ago
3 years 14 weeks ago
3 years 14 weeks ago
3 years 15 weeks ago