summaryrefslogtreecommitdiff
path: root/client/widgets/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/button.h')
-rw-r--r--client/widgets/button.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/widgets/button.h b/client/widgets/button.h
index 0fa7521..0bd7db9 100644
--- a/client/widgets/button.h
+++ b/client/widgets/button.h
@@ -34,7 +34,12 @@
/***
* PushButton Widget
* @tag button
- * @screenshot
+ * @screenshot Example button
+ * <button caption="Click me"/>
+ * @screenshot Example cancel button
+ * <button caption="Cancel" action="cancel"/>
+ * @screenshot Example commit button (inactive)
+ * <button caption="Commit" action="commit"/>
* @extends widget
* This is a normal pushbutton that can be clicked by the user.
* @att caption The caption of the button.