Sha256: 5469f04ee85772973a1843c9da467328fe754b68dbfea19a3ec7eafcc50ce981

Contents?: true

Size: 798 Bytes

Versions: 1

Compression:

Stored size: 798 Bytes

Contents

# frozen_string_literal: true
Shoes.app width: 700, height: 600 do
  title "Shoes is a ", link("tiny") { alert "Cool!" }, " graphics toolkit. "

  flow width: 0.4 do
    image File.join(Shoes::DIR, 'static/shoes-icon.png'),
          click: ->() { alert "You're soooo quick!" }
  end

  flow width: 0.6 do
    tagline "It's simple and straightforward. ",
            link("Shoes ") { alert "Yay!" },
            "was born to be easy! ",
            link("Shoes ") { alert "Yay!" },
            "was born to be easy! ",
            link("Shoes ") { alert "Yay!" },
            "was born to be easy! ",
            "Really, it was made for absolute beginners. "
  end

  subtitle link(strong(em("There's ", fg(bg("really ", "really ", yellow), "#f00"), "nothing to it. "))) { alert "Have fun!" }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.pre12 samples/simple_shoes_intro.rb