Sha256: 075567a1aae55cdd0077e9691cde07882dace072bf65c181116f5c3e85feff26
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>event (GGLib::Widget)</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/widget.rb, line 72</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">event</span>(<span class="ruby-identifier">type</span>) <span class="ruby-comment cmt">#do not modify</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">type</span><span class="ruby-operator">==</span><span class="ruby-constant">WidgetEvent</span><span class="ruby-operator">::</span><span class="ruby-constant">MsLeft</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@acceptstickyfocus</span> <span class="ruby-identifier">stickFocus</span> <span class="ruby-keyword kw">end</span> <span class="ruby-identifier">onClick</span> <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">type</span><span class="ruby-operator">==</span><span class="ruby-constant">WidgetEvent</span><span class="ruby-operator">::</span><span class="ruby-constant">MsRight</span> <span class="ruby-identifier">onRightClick</span> <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">onKeyPress</span>(<span class="ruby-identifier">type</span>) <span class="ruby-keyword kw">end</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/GGLib/Widget.src/M000202.html |