KekLib.MenuButton#

MenuButton.py

Copyright (c) 2019-2022, SAXS Team, KEK-PF

class MenuButton(parent, text, command_list=[])#

Bases: Button

Construct a button widget with the parent MASTER.

STANDARD OPTIONS

activebackground, activeforeground, anchor, background, bitmap, borderwidth, cursor, disabledforeground, font, foreground highlightbackground, highlightcolor, highlightthickness, image, justify, padx, pady, relief, repeatdelay, repeatinterval, takefocus, text, textvariable, underline, wraplength

WIDGET-SPECIFIC OPTIONS

command, compound, default, height, overrelief, state, width

create_menu(command_list)#
entryconfig(*args, **kwargs)#
popup_menu()#