summaryrefslogtreecommitdiff
path: root/lib/class.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class.tcl')
-rw-r--r--lib/class.tcl7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/class.tcl b/lib/class.tcl
index dc2141192a..c27b71476a 100644
--- a/lib/class.tcl
+++ b/lib/class.tcl
@@ -134,6 +134,13 @@ proc delete_this {{t {}}} {
if {[namespace exists $t]} {namespace delete $t}
}
+proc make_dialog {t w args} {
+ upvar $t top $w pfx this this
+ global use_ttk
+ uplevel [linsert $args 0 make_toplevel $t $w]
+ pave_toplevel $pfx
+}
+
proc make_toplevel {t w args} {
upvar $t top $w pfx this this