grapa.frontend.widgets_custom.ComboboxVar

class grapa.frontend.widgets_custom.ComboboxVar(frame, values, default='', **kwargs)

Bases: Combobox

replacement for tk.Combobbox, with embedded tk.Stringvar

__init__(frame, values, default='', **kwargs)

Construct a Ttk Combobox widget with the parent master.

STANDARD OPTIONS

class, cursor, style, takefocus

WIDGET-SPECIFIC OPTIONS

exportselection, justify, height, postcommand, state, textvariable, values, width

Methods

__init__(frame, values[, default])

Construct a Ttk Combobox widget with the parent master.

get()

Returns the current value of the ComboboxVar.

reset_values(values)

Resets the possible values of the ComboboxVar.

set(val)

Sets the current value of the ComboboxVar.

get()

Returns the current value of the ComboboxVar.

reset_values(values)

Resets the possible values of the ComboboxVar.

set(val)

Sets the current value of the ComboboxVar.