Sha256: 1e95a3139dfd0b6528ab2e18ec4265a6e4cf8fa9158a33bf77cd200c358d1909

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 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 (ConsoleDemoState)</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/ConsoleDemo.rb, line 20</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/bg.png&quot;</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-value str">&quot;button2&quot;</span>, <span class="ruby-value str">&quot;Open Console&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-constant">GGLib</span><span class="ruby-operator">::</span><span class="ruby-constant">DebugConsole</span>.<span class="ruby-identifier">new</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

2 entries across 2 versions & 1 rubygems

Version Path
gglib-1.2.1 lib/doc/classes/ConsoleDemoState.src/M000008.html
gglib-1.3.0 doc/classes/ConsoleDemoState.src/M000008.html