def update_format():
            """Update format of color button value."""
            color_format = color_format_option_menu.get()

            alone_when_single = alone_when_single_checkbutton.get()

            value_colorbutton.set_format(color_format, alone_when_single)
Update format of color button value.
nodezator/editing/widgetpicker/subforms.py