struct EE::UI::UIBindingGroup::Error

Overview

Identifies one invalid binding and its current validation result. More…

#include <uibindinggroup.hpp>

struct Error {
    // fields

    std::size_t index { 0 };
    UIWidget* widget { nullptr };
    const UIValueValidationResult* validation { nullptr };
};

Detailed Documentation

Identifies one invalid binding and its current validation result.

Fields

std::size_t index { 0 }

Insertion index of the invalid binding in this group.

UIWidget* widget { nullptr }

Bound widget when one is still connected, otherwise nullptr.

const UIValueValidationResult* validation { nullptr }

Validation state owned by the binding and valid until the group changes.