code
stringlengths
1
1.73M
language
stringclasses
1 value
# # tkextlib/iwidgets/pushbutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Pushbutton < Tk::Itk::Widget end end end class Tk::Iwidgets::Pushbutton TkCommandNames = ['::iwidgets::pushbutto...
Ruby
# # tkextlib/iwidgets/panedwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Panedwindow < Tk::Itk::Widget end end end class Tk::Iwidgets::Panedwindow TkCommandNames = ['::iwidgets::panedw...
Ruby
# # tkextlib/iwidgets/fileselectionbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Fileselectionbox < Tk::Itk::Widget end end end class Tk::Iwidgets::Fileselectionbox TkCommandNames = ['::i...
Ruby
# # tkextlib/iwidgets/notebook.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Notebook < Tk::Itk::Widget end end end class Tk::Iwidgets::Notebook TkCommandNames = ['::iwidgets::notebook'.freez...
Ruby
# # tkextlib/iwidgets/scrolledwidget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Scrolledwidget < Tk::Iwidgets::Labeledwidget end end end class Tk::Iwidgets::Scrolledwidget TkCommandNames =...
Ruby
# # tkextlib/iwidgets/scrolledcanvas.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/canvas' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Scrolledcanvas < Tk::Iwidgets::Scrolledwidget end end end class Tk::Iwidgets::Scrolledcanv...
Ruby
# # tkextlib/iwidgets/watch.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Watch < Tk::Itk::Widget end end end class Tk::Iwidgets::Watch TkCommandNames = ['::iwidgets::watch'.freeze].freeze ...
Ruby
# # tkextlib/iwidgets/mainwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Mainwindow < Tk::Iwidgets::Shell end end end class Tk::Iwidgets::Mainwindow TkCommandNames = ['::iwidgets::mainw...
Ruby
# # tkextlib/iwidgets/checkbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Checkbox < Tk::Iwidgets::Labeledframe end end end class Tk::Iwidgets::Checkbox TkCommandNames = ['::iwidgets::che...
Ruby
# # tkextlib/iwidgets/radiobox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Radiobox < Tk::Iwidgets::Labeledframe end end end class Tk::Iwidgets::Radiobox TkCommandNames = ['::iwidgets::radi...
Ruby
# # tkextlib/iwidgets/messagebox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Messagebox < Tk::Iwidgets::Scrolledwidget end end end class Tk::Iwidgets::Messagebox TkCommandNames = ['::iwidge...
Ruby
# # tkextlib/iwidgets/fileselectiondialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Fileselectiondialog < Tk::Iwidgets::Dialog end end end class Tk::Iwidgets::Fileselectiondialog TkComman...
Ruby
# # tkextlib/iwidgets/tabset.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Tabset < Tk::Itk::Widget end end end class Tk::Iwidgets::Tabset TkCommandNames = ['::iwidgets::tabset'.freeze].freez...
Ruby
# # tkextlib/iwidgets/extfileselectionbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Extfileselectionbox < Tk::Itk::Widget end end end class Tk::Iwidgets::Extfileselectionbox TkCommandNam...
Ruby
# # tkextlib/iwidgets/canvasprintbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Canvasprintbox < Tk::Itk::Widget end end end class Tk::Iwidgets::Canvasprintbox TkCommandNames = ['::iwidget...
Ruby
# # tkextlib/iwidgets/hyperhelp.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Hyperhelp < Tk::Iwidgets::Shell end end end class Tk::Iwidgets::Hyperhelp TkCommandNames = ['::iwidgets::hyperhel...
Ruby
# # tkextlib/iwidgets/extbutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Extbutton < Tk::Itk::Widget end end end class Tk::Iwidgets::Extbutton TkCommandNames = ['::iwidgets::extbutton'....
Ruby
# # tkextlib/iwidgets/scrolledlistbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/listbox' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Scrolledlistbox < Tk::Iwidgets::Scrolledwidget end end end class Tk::Iwidgets::Scrolledl...
Ruby
# # setup.rb -- setup script before calling TkPackage.require() # # If you need some setup operations (for example, add a library path # to the library search path) before using Tcl/Tk library packages # wrapped by Ruby scripts in this directory, please write the setup # operations in this file. #
Ruby
# # tkextlib/iwidgets/scrolledhtml.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Scrolledhtml < Tk::Iwidgets::Scrolledtext end end end class Tk::Iwidgets::Scrolledhtml TkCommandNames = ['::iw...
Ruby
# # tkextlib/iwidgets/calendar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Calendar < Tk::Itk::Widget end end end class Tk::Iwidgets::Calendar TkCommandNames = ['::iwidgets::calendar'.freez...
Ruby
# # tkextlib/iwidgets/optionmenu.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Optionmenu < Tk::Iwidgets::Labeledwidget end end end class Tk::Iwidgets::Optionmenu TkCommandNames = ['::iwidge...
Ruby
# # tkextlib/tkDND/shape.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' # call setup script for general 'tkextlib' libraries require 'tkextlib/setup.rb' # call setup script require 'tkextlib/tkDND/setup.rb' # TkPackage.require('Shape', '0.3') TkPackage.require('Shape'...
Ruby
# # tkextlib/tkDND/tkdnd.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' # call setup script for general 'tkextlib' libraries require 'tkextlib/setup.rb' # call setup script require 'tkextlib/tkDND/setup.rb' TkPackage.require('tkdnd') module Tk module TkDND PACK...
Ruby
# # setup.rb -- setup script before calling TkPackage.require() # # If you need some setup operations (for example, add a library path # to the library search path) before using Tcl/Tk library packages # wrapped by Ruby scripts in this directory, please write the setup # operations in this file. #
Ruby
# # tkextlib/winico/winico.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' # call setup script for general 'tkextlib' libraries require 'tkextlib/setup.rb' # call setup script require 'tkextlib/winico/setup.rb' # TkPackage.require('winico', '0.5') # TkPackage.require('...
Ruby
# # setup.rb -- setup script before calling TkPackage.require() # # If you need some setup operations (for example, add a library path # to the library search path) before using Tcl/Tk library packages # wrapped by Ruby scripts in this directory, please write the setup # operations in this file. #
Ruby
# # BWidget extension support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' # call setup script for general 'tkextlib' libraries require 'tkextlib/setup.rb' # call setup script require 'tkextlib/bwidget/setup.rb' # load all image format handlers #TkPackage.require('BWid...
Ruby
# # tkextlib/itk/incr_tcl.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' # call setup script require 'tkextlib/itcl.rb' # TkPackage.require('Itcl', '3.2') TkPackage.require('Itcl') module Tk module Itcl include Tk extend Tk LIBRARY = TkVarAccess.new('::...
Ruby
# # setup.rb -- setup script before calling TkPackage.require() # # If you need some setup operations (for example, add a library path # to the library search path) before using Tcl/Tk library packages # wrapped by Ruby scripts in this directory, please write the setup # operations in this file. # # ...
Ruby
# # tkextlib/tcllib/screenruler.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * screenruler dialog # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::screenruler', '1.1') TkPackage.require('widget::screenruler') module Tk::T...
Ruby
# # tkextlib/tcllib/tooltip.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Provides tooltips, a small text message that is displayed when the # mouse hovers over a widget. # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('toolt...
Ruby
# # tkextlib/tcllib/tkpiechart.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Create 2D or 3D pies with labels in Tcl canvases # require 'tk' require 'tk/canvas' require 'tkextlib/tcllib.rb' # TkPackage.require('tkpiechart', '6.6') TkPackage.requ...
Ruby
# # tkextlib/tcllib/crosshair.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Crosshairs for Tk canvas # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('crosshair', '1.0.2') TkPackage.require('crosshair') module Tk::Tcllib module...
Ruby
# # tkextlib/tcllib/plotchart.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Simple plotting and charting package # # (The following is the original description of the library.) # # Plotchart is a Tcl-only package that focuses on the easy creation ...
Ruby
# # tkextlib/tcllib/datefield.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Tk datefield widget # # (The following is the original description of the library.) # # The datefield package provides the datefield widget which is an enhanced # text ent...
Ruby
# # tkextlib/tcllib/menuentry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * menuentry widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::menuentry', '1.0') TkPackage.require('widget::menuentry') module Tk::Tcllib ...
Ruby
# # tkextlib/tcllib/toolbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * toolbar widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::toolbar', '1.2') TkPackage.require('widget::toolbar') module Tk::Tcllib module W...
Ruby
# # tkextlib/tcllib/scrollwin.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Scrolled widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::scrolledwindow', '1.0') TkPackage.require('widget::scrolledwindow') module Tk::...
Ruby
# # tkextlib/tcllib/scrolledwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * scrolledwindow widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::scrolledwindow', '1.2') TkPackage.require('widget::scrolledwindow') ...
Ruby
# # tkextlib/tcllib/ctext.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Overloads the text widget and provides new commands # require 'tk' require 'tk/text' require 'tkextlib/tcllib.rb' # TkPackage.require('ctext', '3.1') TkPackage.require('ctex...
Ruby
# # tkextlib/tcllib/dateentry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * dateentry widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::dateentry', '0.91') TkPackage.require('widget::dateentry') module Tk::Tcllib ...
Ruby
# # tkextlib/tcllib/diagrams.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Draw diagrams # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('Diagrams', '0.3') TkPackage.require('Diagrams') module Tk::Tcllib module Diagrams PA...
Ruby
# # tkextlib/tcllib/autoscroll.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Provides for a scrollbar to automatically mapped and unmapped as needed # # (The following is the original description of the library.) # # This package allows scrollbars...
Ruby
# # tkextlib/tcllib/widget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * megawidget package that uses snit as the object system (snidgets) # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget', '3.0') TkPackage.require('widget...
Ruby
# # tkextlib/tcllib/canvas.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::canvas_sqmap', '0.2') TkPackage.require('widget::canvas_sqmap') module Tk::Tcllib module Widget ...
Ruby
# # tkextlib/tcllib/swaplist.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * A dialog which allows a user to move options between two lists # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('swaplist', '0.1') TkPackage.require('swapl...
Ruby
# # tkextlib/tcllib/ip_entry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * An IP address entry widget # # (The following is the original description of the library.) # # This package provides a widget for the entering of a IP address. # It guarant...
Ruby
# # tkextlib/tcllib/tablelist.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * A multi-column listbox require 'tk' require 'tkextlib/tcllib.rb' # check Tile extension :: If already loaded, use tablelist_tile. unless defined? Tk::Tcllib::Tablelist_u...
Ruby
# # tkextlib/tcllib/getstring.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * A dialog which consists of an Entry, OK, and Cancel buttons. # require 'tk' require 'tk/entry' require 'tkextlib/tcllib.rb' # TkPackage.require('getstring', '0.1') TkPac...
Ruby
# # tkextlib/tcllib/ntext.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Ntext bindtag # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('ntext', '0.81') TkPackage.require('ntext') module Tk::Tcllib Ntext = TkBindTag.new_by_name(...
Ruby
# # tkextlib/tcllib/dialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Generic dialog widget (themed) # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::dialog', '1.2') TkPackage.require('widget::dialog') module Tk::Tcll...
Ruby
# # tkextlib/tcllib/canvas.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::canvas_zoom', '0.1') TkPackage.require('widget::canvas_zoom') module Tk::Tcllib module Widget ...
Ruby
# # tkextlib/tcllib/panelframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Create PanelFrame widgets. # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::panelframe', '1.0') TkPackage.require('widget::panelframe') module ...
Ruby
# # tkextlib/tcllib/ico.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Reading and writing windows icons # require 'tk' require 'tk/image' #require 'tkextlib/tcllib.rb' # TkPackage.require('ico', '0.3') TkPackage.require('ico') module Tk modul...
Ruby
# # tkextlib/tcllib/khim.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Kevin's Hacky Input Method # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('khim', '1.0') TkPackage.require('khim') module Tk::Tcllib class KHIM < TkToplev...
Ruby
# # tkextlib/tcllib/statusbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * statusbar widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::statusbar', '1.2') TkPackage.require('widget::statusbar') module Tk::Tcllib ...
Ruby
# # tkextlib/tcllib/tablelist_tlie.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * A multi-column listbox require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('tablelist_tile', '4.2') TkPackage.require('tablelist_tile') unless defined? T...
Ruby
# # tkextlib/tcllib/style.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * select and use some 'style' of option (resource) DB # require 'tk' require 'tkextlib/tcllib.rb' module Tk::Tcllib module Style PACKAGE_NAME = 'style'.freeze def se...
Ruby
# # tkextlib/tcllib/tablelist_core.rb # # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * This file is required by 'tkextlib/tcllib/tablelist.rb' or # 'tkextlib/tcllib/tablelist_tile.rb'. # module Tk module Tcllib class Tablelist < TkWindow ...
Ruby
# # tkextlib/tcllib/superframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Superframe widget - enhanced labelframe widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::superframe', '1.0') TkPackage.require('widget::s...
Ruby
# # tkextlib/tcllib/cursor.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Procedures to handle CURSOR data # require 'tk' require 'tkextlib/tcllib.rb' module Tk module Tcllib module Cursor PACKAGE_NAME = 'cursor'.freeze def self...
Ruby
# # tkextlib/tcllib/history.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * Provides a history for Entry widgets # require 'tk' require 'tk/entry' require 'tkextlib/tcllib.rb' # TkPackage.require('history', '0.1') TkPackage.require('history') mod...
Ruby
# # tkextlib/tcllib/chatwidget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * chatwidget - Provides a multi-paned view suitable for display of # chat room or irc channel information # require 'tk' require 'tkextlib/tcllib.rb' # T...
Ruby
# # setup.rb -- setup script before calling TkPackage.require() # # If you need some setup operations (for example, add a library path # to the library search path) before using Tcl/Tk library packages # wrapped by Ruby scripts in this directory, please write the setup # operations in this file. #
Ruby
# # tkextlib/tcllib/ruler.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * ruler widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::ruler', '1.0') TkPackage.require('widget::ruler') module Tk::Tcllib module Widget ...
Ruby
# # tkextlib/tcllib/calendar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # * Part of tcllib extension # * calendar widget # require 'tk' require 'tkextlib/tcllib.rb' # TkPackage.require('widget::calendar', '0.9') TkPackage.require('widget::calendar') module Tk::Tcllib modu...
Ruby
# # tkextlib/bwidget/listbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/canvas' require 'tkextlib/bwidget.rb' module Tk module BWidget class ListBox < TkWindow # is NOT a subclass of a listbox widget class. # because it constructed on a...
Ruby
# # tkextlib/bwidget/entry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/arrowbutton' require 'tkextlib/bwidget/entry' module Tk module BWidget class SpinBox < Tk::Entry end end end class Tk::BWidget:...
Ruby
# # tkextlib/bwidget/combobox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/entry' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/listbox' require 'tkextlib/bwidget/spinbox' module Tk module BWidget class ComboBox < Tk::BWidget::SpinBox e...
Ruby
# # tkextlib/bwidget/selectfont.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/messagedlg' module Tk module BWidget class SelectFont < Tk::BWidget::MessageDlg class Dialog < Tk::BWidget::SelectFont ...
Ruby
# # tkextlib/bwidget/progressdlg.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/variable' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/progressbar' require 'tkextlib/bwidget/messagedlg' module Tk module BWidget class ProgressDlg < Tk::BWidge...
Ruby
# # tkextlib/bwidget/scrolledwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' module Tk module BWidget class ScrolledWindow < TkWindow end end end class Tk::BWidget::ScrolledWindow TkCommandNames = ['S...
Ruby
# # tkextlib/bwidget/arrowbutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/button' module Tk module BWidget class ArrowButton < Tk::BWidget::Button end end end class Tk::BWidget::ArrowButton TkC...
Ruby
# # tkextlib/bwidget/messagedlg.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/dialog.rb' module Tk module BWidget class MessageDlg < TkWindow end end end class Tk::BWidget::MessageDlg TkCommandNames...
Ruby
# # tkextlib/bwidget/widget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' module Tk module BWidget module Widget end end end module Tk::BWidget::Widget include Tk extend Tk def self.__pathname 'Widget::configure' ...
Ruby
# # tkextlib/bwidget/pagesmanager.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' module Tk module BWidget class PagesManager < TkWindow end end end class Tk::BWidget::PagesManager TkCommandNames = ['PagesMa...
Ruby
# # tkextlib/bwidget/progressbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' module Tk module BWidget class ProgressBar < TkWindow end end end class Tk::BWidget::ProgressBar TkCommandNames = ['ProgressBar'.freeze].freeze ...
Ruby
# # tkextlib/bwidget/bitmap.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/image' require 'tkextlib/bwidget.rb' module Tk module BWidget class Bitmap < TkPhotoImage end end end class Tk::BWidget::Bitmap def initialize(name) @path = tk_call_...
Ruby
# # tkextlib/bwidget/entry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/entry' require 'tkextlib/bwidget.rb' module Tk module BWidget class Entry < Tk::Entry end end end class Tk::BWidget::Entry include Scrollable TkCommandNames = ['Entry...
Ruby
# # tkextlib/bwidget/button.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/button' require 'tkextlib/bwidget.rb' module Tk module BWidget class Button < Tk::Button end end end class Tk::BWidget::Button TkCommandNames = ['Button'.freeze].freeze...
Ruby
# # tkextlib/bwidget/mainframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/progressbar' module Tk module BWidget class MainFrame < TkWindow end end end class Tk::BWidget::MainFram...
Ruby
# # tkextlib/bwidget/label.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/label' require 'tkextlib/bwidget.rb' module Tk module BWidget class Label < Tk::Label end end end class Tk::BWidget::Label TkCommandNames = ['Label'.freeze].freeze Wid...
Ruby
# # tkextlib/bwidget/buttonbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/button' module Tk module BWidget class ButtonBox < TkWindow end end end class Tk::BWidget::ButtonBox TkCommandNames = ['B...
Ruby
# # tkextlib/bwidget/dialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/buttonbox' module Tk module BWidget class Dialog < TkWindow end end end class Tk::BWidget::Dialog TkComma...
Ruby
# # tkextlib/bwidget/panelframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' module Tk module BWidget class PanelFrame < TkWindow end end end class Tk::BWidget::PanelFrame TkCommandNames = ['PanelFrame'.f...
Ruby
# # tkextlib/bwidget/scrollview.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' module Tk module BWidget class ScrollView < TkWindow end end end class Tk::BWidget::ScrollView TkCommandNames = ['ScrollView'.freeze].freeze Wid...
Ruby
# # tkextlib/bwidget/panedwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' module Tk module BWidget class PanedWindow < TkWindow end end end class Tk::BWidget::PanedWindow TkCommandNames = ['PanedWindo...
Ruby
# # tkextlib/bwidget/notebook.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' module Tk module BWidget class NoteBook < TkWindow end end end class Tk::BWidget::NoteBook include TkItemConfigMethod TkComman...
Ruby
# # tkextlib/bwidget/dragsite.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' module Tk module BWidget module DragSite end end end module Tk::BWidget::DragSite include Tk extend Tk def self.include(klass, type, event) ...
Ruby
# # tkextlib/bwidget/separator.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' module Tk module BWidget class Separator < TkWindow end end end class Tk::BWidget::Separator TkCommandNames = ['Separator'.freeze].freeze WidgetC...
Ruby
# # tkextlib/bwidget/statusbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' module Tk module BWidget class StatusBar < TkWindow end end end class Tk::BWidget::StatusBar TkCommandNames = ['StatusBar'.freez...
Ruby
# # tkextlib/bwidget/dropsite.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' module Tk module BWidget module DropSite end end end module Tk::BWidget::DropSite include Tk extend Tk def self.include(klass, type) tk_cal...
Ruby
# # tkextlib/bwidget/titleframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' module Tk module BWidget class TitleFrame < TkWindow end end end class Tk::BWidget::TitleFrame TkCommandNames = ['TitleFrame'.f...
Ruby
# # tkextlib/bwidget/labelentry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/entry' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/labelframe' require 'tkextlib/bwidget/entry' module Tk module BWidget class LabelEntry < Tk::Entry end e...
Ruby
# # tkextlib/bwidget/selectcolor.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/messagedlg' module Tk module BWidget class SelectColor < Tk::BWidget::MessageDlg class Dialog < Tk::BWidget::SelectColor ...
Ruby
# # tkextlib/bwidget/tree.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/canvas' require 'tkextlib/bwidget.rb' module Tk module BWidget class Tree < TkWindow class Node < TkObject end end end end class Tk::BWidget::Tree include TkI...
Ruby
# # tkextlib/bwidget/labelframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/label' module Tk module BWidget class LabelFrame < TkWindow end end end class Tk::BWidget::LabelFrame ...
Ruby
# # setup.rb -- setup script before calling TkPackage.require() # # If you need some setup operations (for example, add a library path # to the library search path) before using Tcl/Tk library packages # wrapped by Ruby scripts in this directory, please write the setup # operations in this file. #
Ruby
# # tkextlib/bwidget/scrollableframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/bwidget.rb' module Tk module BWidget class ScrollableFrame < TkWindow end end end class Tk::BWidget::ScrollableFrame include Scrollabl...
Ruby