Sha256: b3441bb64a2801e511376e1c3b91fe6ae3c57d087b572d9ec7792a3a12b02d4e

Contents?: true

Size: 942 Bytes

Versions: 6

Compression:

Stored size: 942 Bytes

Contents

Shoes.app do
 stack do
    para "Title and app name tests"
    st = Shoes.settings
    para "settings name is #{st.app_name} vs #{app.name}"
    flow do
      @el1 = edit_line width: 100, border: 3
      button "name =" do
        app.name = @el1.text
        para "settings name is #{st.app_name} vs #{app.name} did title change?"
      end
    end
    flow do
      @el2 = edit_line width: 100, border: 3
      button "app_name =" do
        st.app_name = @el2.text
        window do
          para "only affect new windows?"
        end
        para "settings name is #{st.app_name} vs #{app.name} did title change?"
      end
    end
    flow do 
      @el3 = edit_line width: 100, margin: 3
      button "wtitle =" do
        app.set_window_title @el3.text
        window do
          para "only affect new windows?"
        end
        para "settings name is #{st.app_name} vs #{app.name} did title change?"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
scarpe-0.4.0 examples/legacy/not_checked/shoes3-tests/gapp/title1.rb
scarpe-0.3.0 examples/legacy/not_checked/shoes3-tests/gapp/title1.rb
scarpe-0.2.2 examples/legacy/not_checked/shoes3-tests/gapp/title1.rb
lacci-0.2.1 examples/legacy/not_checked/shoes3-tests/gapp/title1.rb
scarpe-0.2.1 examples/legacy/not_checked/shoes3-tests/gapp/title1.rb
scarpe-0.2.0 examples/legacy/not_checked/shoes3-tests/gapp/title1.rb