diff options
Diffstat (limited to 'include/widgets/widget.h')
-rw-r--r-- | include/widgets/widget.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/widgets/widget.h b/include/widgets/widget.h index 9370a49b..abe0c4f6 100644 --- a/include/widgets/widget.h +++ b/include/widgets/widget.h @@ -142,6 +142,15 @@ void widget_move ( widget *widget, short x, short y ); */ WidgetType widget_type ( widget *widget ); + +/** + * @param widget Handle to widget + * @param type The widget type. + * + * Set the widget type. + */ +void widget_set_type ( widget *widget, WidgetType type ); + /** * @param widget Handle to widget * |