samples/hello/hello_combo.rb in glimmer-dsl-tk-0.0.5 vs samples/hello/hello_combo.rb in glimmer-dsl-tk-0.0.6
- old
+ new
@@ -41,15 +41,15 @@
person = Person.new
root {
title 'Hello, Combo!'
- combobox { |proxy|
+ combobox {
state 'readonly'
text bind(person, :country)
}
- button { |proxy|
+ button {
text "Reset Selection"
command {
person.reset_country
}
}