Lines Matching refs:dlg
33 # Escape => invokes [$dlg close cancel]
34 # WM_DELETE_WINDOW => invokes [$dlg close cancel]
40 set dlg [widget::dialog .pkgerr -modal local -separator 1 \
43 set frame [frame $dlg.f]
48 $dlg setwidget $frame
49 puts [$dlg display]
50 destroy $dlg
53 # custom buttons call [$dlg close $reason] to trigger the close
54 set dlg [widget::dialog .pkgerr -title "Yes/No Dialog" -separator 1 \
56 set frame [frame $dlg.f]
61 $dlg setwidget $frame
62 $dlg add button -text "Yes" -command [list $dlg close yes]
63 $dlg add button -text "No" -command [list $dlg close no]
64 puts [$dlg display]
213 # [$dlg close $reason]