# module Tk::BWidget

### Constants

LIBRARY
PACKAGE_NAME

### Public Class Methods

XLFDfont(cmd, *args) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 42
    def self.XLFDfont(cmd, *args)
      if args[-1].kind_of?(Hash)
        keys = args.pop
        args.concat(hash_kv(keys))
      end
      tk_call('BWidget::XLFDfont', cmd, *args)
    end

assert(exp, msg=None) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 50
    def self.assert(exp, msg=None)
      tk_call('BWidget::assert', exp, msg)
    end

badOptionString(type, value, list) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 54
    def self.badOptionString(type, value, list)
      tk_call('BWidget::badOptionString', type, value, list)
    end

bindMouseWheel(widget) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 58
    def self.bindMouseWheel(widget)
      tk_call('BWidget::bindMouseWheel', widget)
    end

classes(klass) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 62
    def self.classes(klass)
      list(tk_call('BWidget::classes', klass))
    end

clonename(menu) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 66
    def self.clonename(menu)
      tk_call('BWidget::clonename', menu)
    end

focus(opt, path) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 70
    def self.focus(opt, path)
      tk_call('BWidget::focus', opt, path)
    end

get3dcolor(path, bgcolor) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 74
    def self.get3dcolor(path, bgcolor)
      tk_call('BWidget::get3dcolor', path, bgcolor)
    end

getname(name) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 78
    def self.getname(name)
      tk_call('BWidget::getname', name)
    end

grab(opt, path) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 82
    def self.grab(opt, path)
      tk_call('BWidget::grab', opt, path)
    end

inuse(klass) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 86
    def self.inuse(klass)
      bool(tk_call('BWidget::inuse', klass))
    end

library(klass, *klasses) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 90
    def self.library(klass, *klasses)
      tk_call('BWidget::library', klass, *klasses)
    end

lreorder(list, neworder) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 94
    def self.lreorder(list, neworder)
      tk_call('BWidget::lreorder', list, neworder)
    end

package_name() click to toggle source

    # File lib/tkextlib/bwidget.rb, line 30
    def self.package_name
      PACKAGE_NAME
    end

package_version() click to toggle source

    # File lib/tkextlib/bwidget.rb, line 34
    def self.package_version
      begin
        TkPackage.require('BWidget')
      rescue
        ''
      end
    end

parsetext(text) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 98
    def self.parsetext(text)
      tk_call('BWidget::parsetext', text)
    end

place(path, w, h, *args) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 102
    def self.place(path, w, h, *args)
      if args[-1].kind_of?(Hash)
        keys = args.pop
        args.concat(hash_kv(keys))
      end
      tk_call('BWidget::place', path, w, h, *(args.flatten))
    end

write(file, mode=None) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 110
    def self.write(file, mode=None)
      tk_call('BWidget::write', file, mode)
    end

wrongNumArgsString(str) click to toggle source

    # File lib/tkextlib/bwidget.rb, line 114
    def self.wrongNumArgsString(str)
      tk_call('BWidget::wrongNumArgsString', str)
    end