Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
font,
state,
values = [],
set_value = None,
width = None,
height = None):
tk.Frame.__init__(self,
parent)
if width:
self.config(width = width)
if height:
self.config(height = height)
self.parent = parent
self.grid_columnconfigure(0, weight = 1)
self.grid_rowconfigure(0, weight = 1)
self.dropdown = TableDropdown_(self,
font,
state,
values = values,
set_value = set_value)
self.dropdown.grid(row = 0,
column = 0,
sticky = "nswe")
self.grid_propagate(False)
self.dropdown.focus_set()