[issue43411] wm_manage fails with ttk.Frame

2021-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Minor correction: Tk does not generate names as digit sequences. Its syntax requires a name to be always specified. Past versions of Tkinter generated names as digit sequences, now it generates more readable and informative names. If we ever add

[issue43411] wm_manage fails with ttk.Frame

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: As an IDLE maintainer, I am a tkinter user also and that is my involvement in tkinter changes. One of my projects for IDLE has been to switch to ttk widgets, including ttk.Frame, wherever possible, for the reasons you gave. It is known the tkinter docs we

[issue43411] wm_manage fails with ttk.Frame

2021-03-12 Thread Martin Cooper
Martin Cooper added the comment: I think you are confusing the perspective of the implementor with that of the typical developer _using_ the toolkit without reading through its source code. In my tkinter applications, I pretty much always use ttk widgets where they are available. This is

[issue43411] wm_manage fails with ttk.Frame

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are confusing the widget path component, an arbitrary string of chars other than the separator '.', with the English word 'frame', which is also a tk command. In tk docs, 'a *frame*' is a widget (tk window) created with the 'frame' command. By

[issue43411] wm_manage fails with ttk.Frame

2021-03-05 Thread Martin Cooper
New submission from Martin Cooper : Attempting to use a ttk.Frame with wm_manage() causes a TclError: _tkinter.TclError: window ".!frame" is not manageable: must be a frame, labelframe or toplevel The (Tcl) documentation for wm manage states "Only frame, labelframe and toplevel widgets can