OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [tags/] [start/] [insight/] [itcl/] [iwidgets3.0.0/] [demos/] [buttonbox] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
#!/bin/sh
2
# ----------------------------------------------------------------------
3
#  DEMO: buttonbox in [incr Widgets]
4
# ----------------------------------------------------------------------
5
#\
6
exec itkwish "$0" ${1+"$@"}
7
package require Iwidgets 3.0
8
 
9
#
10
# Demo script for Buttonbox class
11
#
12
iwidgets::buttonbox .bb
13
 
14
.bb add OK -text OK -command "puts OK"
15
.bb add Apply -text Apply -command "puts Apply"
16
.bb add Cancel -text Cancel -command "puts Cancel"
17
.bb default OK
18
 
19
pack .bb -expand yes -fill both

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.