MCPcopy Index your code
hub / github.com/python/cpython / Menubutton

Class Menubutton

Lib/tkinter/ttk.py:763–779  ·  view source on GitHub ↗

Ttk Menubutton widget displays a textual label and/or image, and displays a menu when pressed.

Source from the content-addressed store, hash-verified

761
762
763class Menubutton(Widget):
764 """Ttk Menubutton widget displays a textual label and/or image, and
765 displays a menu when pressed."""
766
767 def __init__(self, master=None, **kw):
768 """Construct a Ttk Menubutton with parent master.
769
770 STANDARD OPTIONS
771
772 class, compound, cursor, image, state, style, takefocus,
773 text, textvariable, underline, width
774
775 WIDGET-SPECIFIC OPTIONS
776
777 direction, menu
778 """
779 Widget.__init__(self, master, "ttk::menubutton", kw)
780
781
782class Notebook(Widget):

Callers 1

toc_menuMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…