summaryrefslogtreecommitdiff
path: root/client/widgets/groupbox.h
diff options
context:
space:
mode:
authordeva <deva>2011-06-28 06:38:10 +0000
committerdeva <deva>2011-06-28 06:38:10 +0000
commit6389aabffe198ece92b58ae34a905902c7eefe7c (patch)
treecfda4b340e462e5193f4ac2e6814cce5d707ca4f /client/widgets/groupbox.h
parent01febc40e2aad29bf6cf6cbeb457c44354aba0f9 (diff)
Complete rewrite of the way lua widget methods, 'inheritance' in particular, are handled.
Diffstat (limited to 'client/widgets/groupbox.h')
-rw-r--r--client/widgets/groupbox.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/client/widgets/groupbox.h b/client/widgets/groupbox.h
index 73b6508..58e52bb 100644
--- a/client/widgets/groupbox.h
+++ b/client/widgets/groupbox.h
@@ -37,8 +37,17 @@
/***
* Layout or Frame Widget
* @tag frame
+ * @screenshot Example with caption.
+ * <frame caption="Caption" layout="vbox">
+ * <label caption="Label"/>
+ * <lineedit name="x" value="LineEdit"/>
+ * </frame>
+ * @screenshot Example without caption (frame is invisible).
+ * <frame layout="vbox">
+ * <label caption="Label"/>
+ * <lineedit name="x" value="LineEdit"/>
+ * </frame>
* @extends widget
- * @screenshot
* This widget is used to control the layout of the child widgets and/or produce
* a frame and caption for them. <em>NOTE</em>: The value of this widget is
* always the empty string. It cannot be set.