Sha256: ca66808446f04da3a6cc7118bc13675b088dc67226a347ed4548afb2fabfb829
Contents?: true
Size: 1.91 KB
Versions: 1
Compression:
Stored size: 1.91 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 examples/FadeIn.rb, line 27</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/splash.png"</span>) <span class="ruby-constant">GGLib</span><span class="ruby-operator">::</span><span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:fade</span>, <span class="ruby-value str">"Fade"</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-constant">GGLib</span><span class="ruby-operator">::</span><span class="ruby-constant">Themes</span><span class="ruby-operator">::</span><span class="ruby-constant">BlueSteel</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.3.0 | doc/classes/StartMenu.src/M000006.html |