# Copyright (c) 2023 The Old Man and the C
#
# This file is part of mvcTkinter.
#
# mvcTkinter is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# mvcTkinter is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with mvcTkinter. If not, see <https://www.gnu.org/licenses/>.

# Events
BUTTON_PRESSED = "buttonPressed"
GEOMETRY_CHANGED = "geometryChanged"
LIST_BUILDER_BUTTON_PRESSED = "listBuilderButtonPressed"
LIST_SELECTOR_PROPERTY_BUTTON_PRESSED = "listSelectorPropertyChange"
LIST_SELECTOR_REORDERED = "listSelectorReordered"
SELECTION_CHANGED = "selectionChanged"
TAB_CHANGED = "tabChanged"
VALUE_CHANGED = "valueChanged"

# Value keys
DATA_RETURN = "dataReturn"
ENABLE_EDIT = "enableEdit"
FILTER = "filter"
LABEL = "label"
LIST_BUILDER_VALIDATE_ADD = "listBuilderValidateAdd",
LIST_BUILDER_VALIDATE_REMOVE = "listBuilderValidateRemove",
LIST_SELECTOR_PROPERTY_VALIDATE = "listSelectorPropertyValidate"
PROPERTIES = "properties"
REDIRECT = "redirect"
SELECTED_ITEMS = "selectedItems"
SELECTION = "selection"
SELECTION_ANCHOR = "selectionAnchor"
SELECTION_CLEAR = "selectionClear"
SELECTION_SET = "selectionSet"
SOURCE = "source"
TEXT = "text"
