- /**
- Returns the name of the widget class. Used for style lookup.
- */
- virtual const char *get_class() const { return "widget"; }
-
- /**
- Gets a style object from the resource collection based on the class and
- style names of the widget.
- */
- void update_style();
-
- /**
- Sets the widget's parent Panel. The widget must be unparented when calling
- this function with a nonzero parameter.
- */
- void set_parent(Panel *);
-
- /**
- A helper function to set the parent of another widget.
- */
- void set_parent(Widget &, Panel *);
-
- // More events