+ class Loader: public Msp::DataFile::Loader
+ {
+ protected:
+ Widget &wdg;
+
+ public:
+ Loader(Widget &);
+ Widget &get_object() const { return wdg; }
+ private:
+ void position(int, int);
+ void size(unsigned, unsigned);
+ void style(const std::string &);
+ };
+
+ sigc::signal<void, bool> signal_visibility_changed;
+ sigc::signal<void> signal_request_focus;
+ sigc::signal<void> signal_grab_pointer;
+ sigc::signal<void> signal_ungrab_pointer;
+
+protected:
+ const Resources &res;
+ Geometry geom;
+ std::string style_name;
+ const Style *style;
+ State state;
+ bool visible;
+ bool focusable;
+ Container *parent;
+ std::string tooltip;
+
+ Widget(const Resources &);
+public:
+ virtual ~Widget();
+