View Single Post
Old 01-20-2021, 01:08 PM   #288
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
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.
chaley is offline   Reply With Quote