Namespace
Methods
A
B
C
D
P
Z
Constants
VERSION = tk_call('set', 'blt_version')
 
PATCH_LEVEL = tk_call('set', 'blt_patchLevel')
 
LIBRARY = TkVarAccess.new('blt_library', lib)
 
LIB_PATH = TkVarAccess.new('blt_libPath', lib)
 
PACKAGE_NAME = 'BLT'.freeze
 
WinOp = Winop
 
Class Public methods
active_legend(graph)
# File ext/tk/lib/tkextlib/blt.rb, line 114
def self.active_legend(graph)
  tk_call_without_enc('Blt_ActiveLegend', graph)
end
beep(percent = 50)
# File ext/tk/lib/tkextlib/blt.rb, line 59
def self.beep(percent = 50)
  tk_call('::blt::beep', percent)
end
bgexec(*args)
# File ext/tk/lib/tkextlib/blt.rb, line 63
def self.bgexec(*args)
  if args[0].kind_of?(TkVariable)
    var = args.shift
  else
    var = TkVariable.new
  end
  params = [var]

  params.concat(hash_kv(args.shift, true)) if args[0].kind_of?(Hash)

  params << '--' if args[0] =~ /^\s*-[^-]/
  params.concat(args)

  tk_call('::blt::bgexec', *params)
  var
end
bltdebug(lvl = nil)
# File ext/tk/lib/tkextlib/blt.rb, line 97
def self.bltdebug(lvl = nil)
  if lvl
    tk_call('::blt::bltdebug', lvl)
  else
    number(tk_call('::blt::bltdebug'))
  end
end
closest_point(graph)
# File ext/tk/lib/tkextlib/blt.rb, line 126
def self.closest_point(graph)
  tk_call_without_enc('Blt_ClosestPoint', graph)
end
crc32_data(dat)
# File ext/tk/lib/tkextlib/blt.rb, line 108
def self.crc32_data(dat)
  tk_call_without_enc('::blt::crc32', '-data', dat)
end
crc32_file(name)
# File ext/tk/lib/tkextlib/blt.rb, line 105
def self.crc32_file(name)
  tk_call_without_enc('::blt::crc32', name)
end
crosshairs(graph)
# File ext/tk/lib/tkextlib/blt.rb, line 117
def self.crosshairs(graph)
  tk_call_without_enc('Blt_Crosshairs', graph)
end
detach_bgexec(*args)
# File ext/tk/lib/tkextlib/blt.rb, line 80
def self.detach_bgexec(*args)
  if args[0].kind_of?(TkVariable)
    var = args.shift
  else
    var = TkVariable.new
  end
  params = [var]

  params.concat(hash_kv(args.shift, true)) if args[0].kind_of?(Hash)

  params << '--' if args[0] =~ /^\s*-[^-]/
  params.concat(args)
  params << '&'

  [var, tk_split_list(tk_call('::blt::bgexec', *params))]
end
package_name()
# File ext/tk/lib/tkextlib/blt.rb, line 45
def self.package_name
  PACKAGE_NAME
end
package_version()
# File ext/tk/lib/tkextlib/blt.rb, line 49
def self.package_version
  begin
    TkPackage.require('BLT')
  rescue
    ''
  end
end
print_key(graph)
# File ext/tk/lib/tkextlib/blt.rb, line 123
def self.print_key(graph)
  tk_call_without_enc('Blt_PrintKey', graph)
end
zoom_stack(graph)
# File ext/tk/lib/tkextlib/blt.rb, line 120
def self.zoom_stack(graph)
  tk_call_without_enc('Blt_ZoomStack', graph)
end