From 6389aabffe198ece92b58ae34a905902c7eefe7c Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 28 Jun 2011 06:38:10 +0000 Subject: Complete rewrite of the way lua widget methods, 'inheritance' in particular, are handled. --- client/widgets/metawidget.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'client/widgets/metawidget.h') diff --git a/client/widgets/metawidget.h b/client/widgets/metawidget.h index ac18b91..c6bf5d0 100644 --- a/client/widgets/metawidget.h +++ b/client/widgets/metawidget.h @@ -38,13 +38,19 @@ * Meta Widget * @extends widget * @tag metawidget + * @screenshot An example of a metawidget with two inner widgets. The metawidget is not in itself visible. + * + * + * + * * @container - * This widget is simply a caotainer compositing its value from the widgets + * This widget is simply a container compositing its value from the widgets * within it. The value of the widget cannot be set and its value attribute is * therefore ignored. * @example An example of how to use metawidget with two inner widgets: - * + * * * @@ -52,7 +58,7 @@ * @att layout the layout of the widget. Can be one of 'vbox' or 'hbox'. * @att storechildren This attribute indicates wether the child widgets should * be stored on macro commit. It can be either 'true' or 'false'. - * @att format This attribute comtains lua code. The return value of the code + * @att format This attribute contains lua code. The return value of the code * is the resulting value of the meta widget. * @att layout The layout assigned to the widget. Can be one of 'hbox' or * 'vbox'. -- cgit v1.2.3