Module | Tk::BLT

In:

tk/lib/tkextlib/blt.rb
tk/lib/tkextlib/blt/win_printer.rb
tk/lib/tkextlib/blt/winop.rb
tk/lib/tkextlib/blt/watch.rb
tk/lib/tkextlib/blt/vector.rb
tk/lib/tkextlib/blt/unix_dnd.rb
tk/lib/tkextlib/blt/treeview.rb
tk/lib/tkextlib/blt/tree.rb
tk/lib/tkextlib/blt/tile.rb
tk/lib/tkextlib/blt/tile/toplevel.rb
tk/lib/tkextlib/blt/tile/scrollbar.rb
tk/lib/tkextlib/blt/tile/radiobutton.rb
tk/lib/tkextlib/blt/tile/label.rb
tk/lib/tkextlib/blt/tile/frame.rb
tk/lib/tkextlib/blt/tile/checkbutton.rb
tk/lib/tkextlib/blt/tile/button.rb
tk/lib/tkextlib/blt/ted.rb
tk/lib/tkextlib/blt/tabset.rb
tk/lib/tkextlib/blt/tabnotebook.rb
tk/lib/tkextlib/blt/table.rb
tk/lib/tkextlib/blt/stripchart.rb
tk/lib/tkextlib/blt/spline.rb
tk/lib/tkextlib/blt/htext.rb
tk/lib/tkextlib/blt/graph.rb
tk/lib/tkextlib/blt/eps.rb
tk/lib/tkextlib/blt/dragdrop.rb
tk/lib/tkextlib/blt/cutbuffer.rb
tk/lib/tkextlib/blt/container.rb
tk/lib/tkextlib/blt/component.rb
tk/lib/tkextlib/blt/busy.rb
tk/lib/tkextlib/blt/bitmap.rb
tk/lib/tkextlib/blt/barchart.rb

### Methods

active_legend beep bgexec bltdebug closest_point crc32_data crc32_file crosshairs detach_bgexec find_command find_name package_name package_version print_key zoom_stack

### Classes and Modules

Module Tk::BLT::Busy
Module Tk::BLT::CutBuffer
Module Tk::BLT::DnD
Module Tk::BLT::DragDrop
Module Tk::BLT::GraphCommand
Module Tk::BLT::PlotComponent
Module Tk::BLT::Spline
Module Tk::BLT::Table
Module Tk::BLT::Ted
Module Tk::BLT::Tile
Module Tk::BLT::Winop
Class Tk::BLT::Barchart
Class Tk::BLT::Bitmap
Class Tk::BLT::Container
Class Tk::BLT::EPS
Class Tk::BLT::Graph
Class Tk::BLT::Hiertable
Class Tk::BLT::Htext
Class Tk::BLT::Printer
Class Tk::BLT::Stripchart
Class Tk::BLT::Tabnotebook
Class Tk::BLT::Tabset
Class Tk::BLT::Tree
Class Tk::BLT::Treeview
Class Tk::BLT::Vector
Class Tk::BLT::VectorAccess
Class Tk::BLT::Watch

### 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

### Public Class methods

active_legend(graph)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 112
        def self.active_legend(graph)
          tk_call_without_enc('Blt_ActiveLegend', graph)
        end

beep(percent = 50)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 57
        def self.beep(percent = 50)
          tk_call('::blt::beep', percent)
        end

bgexec(*args)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 61
        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 << '--'
          params.concat(args)

          tk_call('::blt::bgexec', *params)
          var
        end

bltdebug(lvl = nil)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 95
        def self.bltdebug(lvl = nil)
          if lvl
            tk_call('::blt::bltdebug', lvl)
          else
            number(tk_call('::blt::bltdebug'))
          end
        end

closest_point(graph)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 124
        def self.closest_point(graph)
          tk_call_without_enc('Blt_ClosestPoint', graph)
        end

crc32_data(dat)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 106
        def self.crc32_data(dat)
          tk_call_without_enc('::blt::crc32', '-data', dat)
        end

crc32_file(name)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 103
        def self.crc32_file(name)
          tk_call_without_enc('::blt::crc32', name)
        end

crosshairs(graph)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 115
        def self.crosshairs(graph)
          tk_call_without_enc('Blt_Crosshairs', graph)
        end

detach_bgexec(*args)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 78
        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 << '--'
          params.concat(args)
          params << '&'

          [var, tk_split_list(tk_call('::blt::bgexec', *params))]
        end

package_name()

[Source]

    # File tk/lib/tkextlib/blt.rb, line 43
        def self.package_name
          PACKAGE_NAME
        end

package_version()

[Source]

    # File tk/lib/tkextlib/blt.rb, line 47
        def self.package_version
          begin
            TkPackage.require('BLT')
          rescue
            ''
          end
        end

print_key(graph)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 121
        def self.print_key(graph)
          tk_call_without_enc('Blt_PrintKey', graph)
        end

zoom_stack(graph)

[Source]

    # File tk/lib/tkextlib/blt.rb, line 118
        def self.zoom_stack(graph)
          tk_call_without_enc('Blt_ZoomStack', graph)
        end

### Public Instance methods

find_command(pat)

[Source]

    # File tk/lib/tkextlib/blt/container.rb, line 21
      def find_command(pat)
        list(tk_send_without_enc(tk_call(self.path, 'find', '-command', pat)))
      end

find_name(pat)

[Source]

    # File tk/lib/tkextlib/blt/container.rb, line 25
      def find_name(pat)
        list(tk_send_without_enc(tk_call(self.path, 'find', '-name', pat)))
      end

[Validate]