TGUI  0.8.9
tgui::EditBox::Validator Struct Reference

Predefined input validators. More...

#include <TGUI/Widgets/EditBox.hpp>

Static Public Attributes

static const std::string All = ".*"
 Accept any input.
static const std::string Int = "[+-]?[0-9]*"
 Accept negative and positive integers.
static const std::string UInt = "[0-9]*"
 Accept only positive integers.
static const std::string Float = "[+-]?[0-9]*\\.?[0-9]*"
 Accept decimal numbers.

Detailed Description

Predefined input validators.

The documentation for this struct was generated from the following file: