I forgot to mention: code already exists to embed the template dialog inside another widget. Preferences/Template functions uses it. See gui2.preferences.template_functions.py and template_functions.ui. It uses gui2.dialogs.template_dialog.EmbeddedTemplateDialo g.
This might be more appropriate/easier to use for some of what you are doing.
|