sigc::signal<void> signal_ungrab_pointer;
protected:
- const Resources &res;
Geometry geom;
std::string style_name;
const Style *style;
Container *parent;
std::string tooltip;
- Widget(const Resources &);
+ Widget();
public:
virtual ~Widget();
*/
void update_style();
+ static void update_style(Widget &);
+
/**
Sets the widget's parent Panel. The widget must be unparented when calling
this function with a nonzero parameter.
/**
A helper function to set the parent of another widget.
*/
- void set_parent(Widget &, Container *);
+ static void set_parent(Widget &, Container *);
// More events
virtual void on_geometry_change() { }