Sha256: aff3c58a17a032b87006d9429b1f6f2b5466c732f82d2c9d6f4d6412e16c5967

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:	show:@docstringIC:YARD::Docstring":@objectu:YARD::StubProxyTkBalloonHelp#show:
@summary0:@line_range0:
@tags[:	@all":@ref_tags[:
@lineiS:@visibility:public:@files[["#ext/tk/sample/tkballoonhelp.rbiS;[:@parameters[:
@dynamicT:
@path"TkBalloonHelp#show:@source_type:	ruby:@explicitT:@signature"
def show:@source"kdef show
  x = TkWinfo.pointerx(@parent)
  y = TkWinfo.pointery(@parent)
  @frame.geometry("+#{x+1}+#{y+1}")

  if @command
    case @command.arity
    when 0
      @command.call
    when 2
      @command.call(x - TkWinfo.rootx(@parent), y - TkWinfo.rooty(@parent))
    when 3
      @command.call(x - TkWinfo.rootx(@parent), y - TkWinfo.rooty(@parent), 
                    self)
    else
      @command.call(x - TkWinfo.rootx(@parent), y - TkWinfo.rooty(@parent), 
                    self, @parent)
    end
  end

  @frame.deiconify
  @frame.raise

  @org_cursor = @parent['cursor']
  @parent.cursor('crosshair') 
end:@namespaceu;TkBalloonHelp:@scope:
instance:@current_file_has_commentsF

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pry-0.6.9pre1-i386-mingw32 lib/pry/stdlib_docs18/objects/TkBalloonHelp/show_i.dat