head	1.2;
access;
symbols
	rel-5-2:1.1
	rel-5-1-patches:1.1.0.2
	rel-5-1:1.1;
locks; strict;
comment	@# @;


1.2
date	2000.12.06.21.23.01;	author bparker;	state dead;
branches;
next	1.1;

1.1
date	99.11.08.18.51.37;	author jra;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2000.12.06.21.27.50;	author bparker;	state dead;
branches;
next	;


desc
@@


1.2
log
@Upgrading to newer version
@
text
@#!/bin/sh
# ----------------------------------------------------------------------
#  DEMO: selectiondialog in [incr Widgets]
# ----------------------------------------------------------------------
#\
exec itkwish -f "$0" ${1+"$@@"}
package require -exact Iwidgets 2.2

# itkwish interprets the rest...
# ----------------------------------------------------------------------
option add *textBackground seashell

iwidgets::selectiondialog .sd -modality application
.sd configure -selectionlabel "Font:" -items {
    Ariel
    Courier
    Helvetica
    Knarly
    Lucida
    Rumpus
    Symbol
    Times
    "Zapf Dingbats"
}

button .select -text "Font..." -command {
    if {[.sd activate]} {
        puts "selected: [.sd get]"
    } else {
        puts "cancelled"
    }
}
pack .select -side left

@


1.1
log
@Stuff that got missed in first pass
@
text
@@


1.1.2.1
log
@Upgrading to newer version
@
text
@@


