1 #ifndef MSP_GLTK_BUTTON_H_
2 #define MSP_GLTK_BUTTON_H_
4 #include <sigc++/sigc++.h>
10 class Button: public Widget
13 sigc::signal<void> signal_clicked;
15 Button(const Resources &, const std::string & =std::string());
16 void set_text(const std::string &);
21 const char *get_class() const { return "button"; }
22 void render_part(const Part &) const;
23 void on_button_press(int, int, unsigned);
24 void on_button_release(int, int, unsigned);