Button.hpp
Go to the documentation of this file.
void onChangeSize() override
Parent have set the size and the origin. the container need to update the subwidget property...
Definition: Entry.hpp:13
all event are trashed == > acctivity of the button is disable
Definition: Button.hpp:34
void calculateMinMaxSize() override
calculate the minimum and maximum size (need to estimate expend properties of the widget) ...
Definition: Input.hpp:12
virtual void onDraw() override
Common widget drawing function (called by the drawing thread [Android, X11, ...]) ...
void onDetectPresenceToggleWidget() override
Called when parsing a XML and detect the presence of a second Widget.
Definition: Button.hpp:88
eproperty::Value< bool > propertyEnableSingle
When a single subwidget is set display all time it.
Definition: Button.hpp:48
bool onEventInput(const ewol::event::Input &_event) override
Event on an input of this Widget (finger, mouse, stilet)
void onLostFocus() override
Event of the focus has been lost by the current widget.
the Cotainer widget is a widget that have an only one subWidget
Definition: Container2.hpp:22
void onRegenerateDisplay() override
Event generated when a redraw is needed.
Definition: Time.hpp:14
eproperty::Value< std::string > propertyShape
shaper name property
Definition: Button.hpp:44
Definition: Area.hpp:16
esignal::Connection m_PCH
Periodic Call Handle to remove it when needed.
Definition: Button.hpp:92
eproperty::List< enum buttonLock > propertyLock
Current lock state of the button.
Definition: Button.hpp:46
bool onEventEntry(const ewol::event::Entry &_event) override
Entry event. represent the physical event :
virtual void set(const TYPE &_newVal)
When the state is set in pressed, the status stay in this one.
Definition: Button.hpp:32
the Shaper system is a basic theme configuration for every widget, it corespond at a background displ...
Definition: Shaper.hpp:39
When the state is set in not pressed, the status stay in this one.
Definition: Button.hpp:33
void periodicCall(const ewol::event::Time &_event)
Periodic call to update grapgic display.
eproperty::Value< bool > propertyToggleMode
The button is able to toggle.
Definition: Button.hpp:47
a composed button is a button with an inside composed with the specify XML element ==> this permit to...
Definition: Button.hpp:28
eproperty::Value< bool > propertyValue
Current state of the button.
Definition: Button.hpp:45