A simple pushbutton.  
 More...
#include <button.hpp>
|  | 
|  | Button (Container &) | 
|  | 
|  | Button (Container &, std::string_view text) | 
|  | 
|  | Button (Container &, int x, int y, int w, int h) | 
|  | 
| void | draw (Renderer &) | 
|  | 
| template<class ... T> | 
| void | on_click (T &&...args) | 
|  | 
| Signal< void()> & | sig_click () | 
|  | 
| void | set_text (std::string_view text) | 
|  | 
| bool | handle (Event &) | 
|  | Process event.  More... 
 | 
|  | 
|  | Widget () | 
|  | Construct a new Widget object.  More... 
 | 
|  | 
|  | Widget (Container *parent) | 
|  | 
|  | Widget (Container &parent) | 
|  | 
|  | Widget (const Widget &)=delete | 
|  | 
| bool | visible () const noexcept | 
|  | 
| Vec2 | position () const noexcept | 
|  | 
| Window & | master () const | 
|  | Return The widget's master.  More... 
 | 
|  | 
| void | set_rect (const Rect &rect) | 
|  | 
| void | set_rect (int x, int y, int w, int h) | 
|  | 
| void | set_position (const Vec2 &vec2) | 
|  | 
| int | x () const noexcept | 
|  | 
| int | y () const noexcept | 
|  | 
| int | w () const noexcept | 
|  | 
| int | h () const noexcept | 
|  | 
| bool | is_enable () const noexcept | 
|  | 
|  | HasSlots (const HasSlots &)=delete | 
|  | 
| void | disconnect_all () | 
|  | 
The documentation for this class was generated from the following files: