diff options
| author | deva <deva> | 2011-06-28 06:38:10 +0000 |
|---|---|---|
| committer | deva <deva> | 2011-06-28 06:38:10 +0000 |
| commit | 6389aabffe198ece92b58ae34a905902c7eefe7c (patch) | |
| tree | cfda4b340e462e5193f4ac2e6814cce5d707ca4f /client/widgets/button.h | |
| parent | 01febc40e2aad29bf6cf6cbeb457c44354aba0f9 (diff) | |
Complete rewrite of the way lua widget methods, 'inheritance' in particular, are handled.
Diffstat (limited to 'client/widgets/button.h')
| -rw-r--r-- | client/widgets/button.h | 7 |
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. |
