diff options
Diffstat (limited to 'iwidgets/demos/buttonbox')
-rw-r--r-- | iwidgets/demos/buttonbox | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/iwidgets/demos/buttonbox b/iwidgets/demos/buttonbox new file mode 100644 index 00000000000..f5a15c0013b --- /dev/null +++ b/iwidgets/demos/buttonbox @@ -0,0 +1,13 @@ +# ---------------------------------------------------------------------- +# DEMO: buttonbox in [incr Widgets] +# ---------------------------------------------------------------------- +package require Iwidgets 4.0 + +iwidgets::buttonbox .bb + +.bb add OK -text OK -command "puts OK" +.bb add Apply -text Apply -command "puts Apply" +.bb add Cancel -text Cancel -command "puts Cancel" +.bb default OK + +pack .bb -expand yes -fill both |