Sha256: 24e67e569e0674612fbcbb204494de203532436eb46b707e50b296b1199871d7
Contents?: true
Size: 1.74 KB
Versions: 1
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 (EndMenu)</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 33</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">"img/bg.png"</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">"button1"</span>, <span class="ruby-value str">"Fade Back"</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">StartMenu</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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gglib-1.2.1 | lib/doc/classes/EndMenu.src/M000010.html |