Sha256: 191449a5b665ca83f6585bee645c470618f4b944824f80492fc72e33b8606983

Contents?: true

Size: 1.74 KB

Versions: 2

Compression:

Stored size: 1.74 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>onStart (StartMenu)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File gglib/examples/FadeIn.rb, line 25</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">onStart</span>
    <span class="ruby-identifier">$window</span>.<span class="ruby-identifier">setBackground</span>(<span class="ruby-value str">&quot;img/splash.png&quot;</span>)
    <span class="ruby-constant">GGLib</span><span class="ruby-operator">::</span><span class="ruby-constant">ThemeButton</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">&quot;button1&quot;</span>, <span class="ruby-value str">&quot;Fade&quot;</span>, <span class="ruby-value">270</span>, <span class="ruby-value">200</span>, <span class="ruby-constant">Proc</span>.<span class="ruby-identifier">new</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">widget</span><span class="ruby-operator">|</span> <span class="ruby-identifier">$window</span>.<span class="ruby-identifier">state</span> = <span class="ruby-constant">GGLib</span><span class="ruby-operator">::</span><span class="ruby-constant">FadeScreen</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">EndMenu</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value">2</span>) })
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gglib-1.2.1 lib/doc/classes/StartMenu.src/M000004.html
gglib-1.3.0 doc/classes/StartMenu.src/M000004.html