void set_position(int, int);
void set_size(unsigned, unsigned);
- virtual void autosize() { }
+ virtual void autosize();
void set_geometry(const Geometry &);
const Geometry &get_geometry() const { return geom; }
calling this function with a non-null parameter.
*/
void set_parent(Container *);
-
public:
+ Container *get_parent() const { return parent; }
+
/**
Sets the widget style. The final style name is constructed by concatenating
the widget class and the style name with a dash.