Module: Tk::BWidget

Module | Tk::BWidget
In: | tk/lib/tkextlib/bwidget.rb tk/lib/tkextlib/bwidget/widget.rb tk/lib/tkextlib/bwidget/tree.rb tk/lib/tkextlib/bwidget/titleframe.rb tk/lib/tkextlib/bwidget/statusbar.rb tk/lib/tkextlib/bwidget/spinbox.rb tk/lib/tkextlib/bwidget/separator.rb tk/lib/tkextlib/bwidget/selectfont.rb tk/lib/tkextlib/bwidget/selectcolor.rb tk/lib/tkextlib/bwidget/scrollview.rb tk/lib/tkextlib/bwidget/scrolledwindow.rb tk/lib/tkextlib/bwidget/scrollableframe.rb tk/lib/tkextlib/bwidget/progressdlg.rb tk/lib/tkextlib/bwidget/progressbar.rb tk/lib/tkextlib/bwidget/passwddlg.rb tk/lib/tkextlib/bwidget/panelframe.rb tk/lib/tkextlib/bwidget/panedwindow.rb tk/lib/tkextlib/bwidget/pagesmanager.rb tk/lib/tkextlib/bwidget/notebook.rb tk/lib/tkextlib/bwidget/messagedlg.rb tk/lib/tkextlib/bwidget/mainframe.rb tk/lib/tkextlib/bwidget/listbox.rb tk/lib/tkextlib/bwidget/labelframe.rb tk/lib/tkextlib/bwidget/labelentry.rb tk/lib/tkextlib/bwidget/label.rb tk/lib/tkextlib/bwidget/entry.rb tk/lib/tkextlib/bwidget/dynamichelp.rb tk/lib/tkextlib/bwidget/dropsite.rb tk/lib/tkextlib/bwidget/dragsite.rb tk/lib/tkextlib/bwidget/dialog.rb tk/lib/tkextlib/bwidget/combobox.rb tk/lib/tkextlib/bwidget/buttonbox.rb tk/lib/tkextlib/bwidget/button.rb tk/lib/tkextlib/bwidget/bitmap.rb tk/lib/tkextlib/bwidget/arrowbutton.rb

### Methods

XLFDfont assert badOptionString bindMouseWheel classes clonename focus get3dcolor getname grab inuse library lreorder package_name package_version parsetext place write wrongNumArgsString

### Classes and Modules

Module Tk::BWidget::DragSite
Module Tk::BWidget::DropSite
Module Tk::BWidget::DynamicHelp
Module Tk::BWidget::Widget
Class Tk::BWidget::ArrowButton
Class Tk::BWidget::Bitmap
Class Tk::BWidget::Button
Class Tk::BWidget::ButtonBox
Class Tk::BWidget::ComboBox
Class Tk::BWidget::Dialog
Class Tk::BWidget::Entry
Class Tk::BWidget::Label
Class Tk::BWidget::LabelEntry
Class Tk::BWidget::LabelFrame
Class Tk::BWidget::ListBox
Class Tk::BWidget::MainFrame
Class Tk::BWidget::MessageDlg
Class Tk::BWidget::NoteBook
Class Tk::BWidget::PagesManager
Class Tk::BWidget::PanedWindow
Class Tk::BWidget::PanelFrame
Class Tk::BWidget::PasswdDlg
Class Tk::BWidget::ProgressBar
Class Tk::BWidget::ProgressDlg
Class Tk::BWidget::ScrollView
Class Tk::BWidget::ScrollableFrame
Class Tk::BWidget::ScrolledWindow
Class Tk::BWidget::SelectColor
Class Tk::BWidget::SelectFont
Class Tk::BWidget::Separator
Class Tk::BWidget::SpinBox
Class Tk::BWidget::StatusBar
Class Tk::BWidget::TitleFrame
Class Tk::BWidget::Tree

### Constants

LIBRARY | = | tk_call('set', '::BWIDGET::LIBRARY')
PACKAGE_NAME | = | 'BWidget'.freeze

### Public Class methods

XLFDfont(cmd, *args)

[Source]

    # File tk/lib/tkextlib/bwidget.rb, line 39
        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)

[Source]

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

badOptionString(type, value, list)

[Source]

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

bindMouseWheel(widget)

[Source]

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

classes(klass)

[Source]

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

clonename(menu)

[Source]

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

focus(opt, path)

[Source]

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

get3dcolor(path, bgcolor)

[Source]

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

getname(name)

[Source]

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

grab(opt, path)

[Source]

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

inuse(klass)

[Source]

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

library(klass, *klasses)

[Source]

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

lreorder(list, neworder)

[Source]

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

package_name()

[Source]

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

package_version()

[Source]

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

parsetext(text)

[Source]

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

place(path, w, h, *args)

[Source]

    # File tk/lib/tkextlib/bwidget.rb, line 99
        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)

[Source]

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

wrongNumArgsString(str)

[Source]

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

[Validate]