Run Windows commands from Python console

Stephan Houben stephanh42 at gmail.com.invalid
Fri Sep 8 11:56:21 EDT 2017


Op 2017-09-06, Rick Johnson schreef <rantingrickjohnson at gmail.com>:

> One of the nice (current) features of Tkinter menus (that i
> sometimes miss on my windows box!) is the ability to "tear-
> off" a menu cascade and use it as a sort of "pseudo tool
> bar". 

I was under the impression that Tk also supported tear-off
menus under Windows (but not under macOS).
However, many applications apparently explicitly suppress 
this functionality by doing

  Menu(..., tearoff=0)

Stephan



More information about the Python-list mailing list