On 2012-10-23, at 4:20 AM, gary sachs <conversecoroll...@yahoo.com> wrote: > Looking at the various option of using a dialog widget from PERL via Tkx, > widget::dialog was my best choice because it is themed. But I was curious > > as to why it does not allow for specifying a default button like the other > dialog widgets, i.e. - tk__dialog.
widget::dialog tries to act like a proper dialog shell with some widget-like interaction and a lot of flexibility. tk_dialog is a more limited dialog shell only (taking just a message and names of buttons). Indeed, that's been replaced by the core tk_messageBox which is similarly restrictive because it delegates out to the native OS message box. Jeff