26#ifndef TGUI_TOGGLE_BUTTON_HPP
27#define TGUI_TOGGLE_BUTTON_HPP
30#include <TGUI/Widgets/ButtonBase.hpp>
43 using Ptr = std::shared_ptr<ToggleButton>;
44 using ConstPtr = std::shared_ptr<const ToggleButton>;
46 static constexpr const char StaticWidgetType[] =
"ToggleButton";
56 ToggleButton(
const char* typeName = StaticWidgetType,
bool initRenderer =
true);
99 void leftMouseReleased(
Vector2f pos)
override;
Signal to which the user can subscribe to get callbacks from.
Definition: Signal.hpp:58
Wrapper class to store strings.
Definition: String.hpp:79
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:36
KeyPressed event parameters.
Definition: Event.hpp:167