code
stringlengths
1
1.73M
language
stringclasses
1 value
# # 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 guaran...
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/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/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/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/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/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
# # 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 en...
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('tool...
Ruby
# # charts -- Create and manipulate canvas Add-On Items # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/canvas' # call setup script -- <libdir>/tkextlib/vu.rb require 'tkextlib/vu.rb' module Tk module Vu module ChartsConfig include TkItemConfigOptk...
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
# # ::vu::pie widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' # create module/class module Tk module Vu module PieSliceConfigMethod end class Pie < TkWindow end class PieSlice < TkObject end class NamedPieSlice < PieSlice end end en...
Ruby
# # ::vu::spinbox widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # # a standard spinbox (<= 8.3) # This is the same as the 8.4 core spinbox widget. # require 'tk' if (Tk::TK_MAJOR_VERSION < 8 || (Tk::TK_MAJOR_VERSION == 8 && Tk::TK_MINOR_VERSION < 4)) # call setup script ...
Ruby
# # ::vu::bargraph widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' # create module/class module Tk module Vu class Bargraph < TkWindow end end end # call setup script -- <libdir>/tkextlib/vu.rb require 'tkextlib/vu.rb' class Tk::Vu::Bargraph < TkWindo...
Ruby
# # ::vu::dial widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' # create module/class module Tk module Vu class Dial < TkWindow end end end # call setup script -- <libdir>/tkextlib/vu.rb require 'tkextlib/vu.rb' # define module/class class Tk::Vu::Dial ...
Ruby
# # TkTable 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/tktable/setup.rb' # load library require 'tkextlib/tktable/tktable'
Ruby
# # tkextlib/blt/vector.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT class Vector < TkVariable TkCommandNames = ['::blt::vector'.freeze].freeze def self.create(*args) tk_call('::blt::vector', 'create', *args) ...
Ruby
# # tkextlib/blt/tree.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT class Tree < TkObject TkCommandNames = ['::blt::tree'.freeze].freeze ################################### class Node < TkObject TreeNodeID_...
Ruby
# # tkextlib/blt/watch.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT class Watch < TkObject extend TkCore TkCommandNames = ['::blt::watch'.freeze].freeze WATCH_ID_TBL = TkCore::INTERP.create_table (BLT_WATCH...
Ruby
# # tkextlib/blt/bitmap.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT class Bitmap < TkObject extend TkCore TkCommandNames = ['::blt::bitmap'.freeze].freeze BITMAP_ID_TBL = TkCore::INTERP.create_table (BITMA...
Ruby
# # tkextlib/blt/tabnotebook.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' require 'tkextlib/blt/tabset.rb' module Tk::BLT class Tabnotebook < Tabset TkCommandNames = ['::blt::tabnotebook'.freeze].freeze WidgetClassName = 'Tabnoteboo...
Ruby
# # tkextlib/blt/tile.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT module Tile autoload :Button, 'tkextlib/blt/tile/button.rb' autoload :CheckButton, 'tkextlib/blt/tile/checkbutton.rb' autoload :Checkbutton, ...
Ruby
# # tkextlib/blt/spline.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT module Spline extend TkCore TkCommandNames = ['::blt::spline'.freeze].freeze def self.natural(x, y, sx, sy) tk_call('::blt::spline', 'na...
Ruby
# # tkextlib/blt/stripchart.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' require 'tkextlib/blt/component.rb' module Tk::BLT class Stripchart < TkWindow TkCommandNames = ['::blt::stripchart'.freeze].freeze WidgetClassName = 'Stripcha...
Ruby
# # tkextlib/blt/container.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT class Container < TkWindow TkCommandNames = ['::blt::container'.freeze].freeze WidgetClassName = 'Container'.freeze WidgetClassNames[WidgetCl...
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/blt/unix_dnd.rb # # *** This is alpha version, because there is no document on BLT. *** # # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT module DnD extend TkCore TkCommandNames = ['::blt::dnd'.freeze].free...
Ruby
# # tkextlib/blt/cutbuffer.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT module CutBuffer TkCommandNames = ['::blt::cutbuffer'.freeze].freeze def self.get(num = 0) Tk.tk_call('::blt::cutbuffer', 'get', num) ...
Ruby
# # tkextlib/blt/win_printer.rb # # *** Windows only *** # # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT class Printer < TkObject extend TkCore TkCommandNames = ['::blt::printer'.freeze].freeze def self.enum(at...
Ruby
# # tkextlib/blt/barchart.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' require 'tkextlib/blt/component.rb' module Tk::BLT class Barchart < TkWindow TkCommandNames = ['::blt::barchart'.freeze].freeze WidgetClassName = 'Barchart'.free...
Ruby
# # tkextlib/blt/graph.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' require 'tkextlib/blt/component.rb' module Tk::BLT class Graph < TkWindow TkCommandNames = ['::blt::graph'.freeze].freeze WidgetClassName = 'Graph'.freeze Widge...
Ruby
# # tkextlib/blt/ted.rb # # *** This is alpha version, because there is no document on BLT. *** # # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT module Ted extend TkCore TkCommandNames = ['::blt::ted'.freeze].freeze ...
Ruby
# # tkextlib/blt/treeview.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' require 'tk/validation.rb' module Tk::BLT class Treeview < TkWindow module ConfigMethod end module TagOrID_Methods end class Node < TkObject en...
Ruby
# # tkextlib/blt/winop.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT module Winop extend TkCore TkCommandNames = ['::blt::winop'.freeze].freeze end WinOp = Winop end class << Tk::BLT::Winop def changes(win) ...
Ruby
# # tkextlib/blt/table.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/itemconfig.rb' require 'tkextlib/blt.rb' module Tk::BLT module Table include Tk extend Tk extend TkItemConfigMethod TkCommandNames = ['::blt::table'.freeze].freeze ...
Ruby
# # tkextlib/blt/htext.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/itemconfig.rb' require 'tkextlib/blt.rb' module Tk::BLT class Htext<TkWindow Htext_Var = TkVarAccess.new_hash('htext') Htext_Widget = TkVarAccess.new('htext(widget)', :window) ...
Ruby
# # tkextlib/blt/eps.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/canvas' require 'tkextlib/blt.rb' module Tk::BLT class EPS < TkcItem CItemTypeName = 'eps'.freeze CItemTypeToClass[CItemTypeName] = self end end class Tk::Canvas alias __BLT_E...
Ruby
# # tkextlib/blt/tabset.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT class Tabset < TkWindow class Tab < TkObject include TkTreatItemFont TabID_TBL = TkCore::INTERP.create_table (TabsetTab_ID = ['blt_t...
Ruby
# # tkextlib/blt/busy.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/itemconfig.rb' require 'tkextlib/blt.rb' module Tk::BLT module Busy extend TkCore extend TkItemConfigMethod TkCommandNames = ['::blt::busy'.freeze].freeze ##############...
Ruby
# # tkextlib/blt/dragdrop.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/itemconfig' require 'tkextlib/blt.rb' module Tk::BLT module DragDrop extend TkCore TkCommandNames = ['::blt::drag&drop'.freeze].freeze class Token < TkWindow Widge...
Ruby
# # tkextlib/blt/component.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/blt.rb' module Tk::BLT module PlotComponent include TkItemConfigMethod module OptKeys def __item_font_optkeys(id) ['font', 'tickfont', 'titlefont'] ...
Ruby
# # tkextlib/blt/tile/label.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/label' require 'tkextlib/blt/tile.rb' module Tk::BLT module Tile class Label < Tk::Label TkCommandNames = ['::blt::tile::label'.freeze].freeze end end end
Ruby
# # tkextlib/blt/tile/frame.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/frame' require 'tkextlib/blt/tile.rb' module Tk::BLT module Tile class Frame < Tk::Frame TkCommandNames = ['::blt::tile::frame'.freeze].freeze end end end
Ruby
# # tkextlib/blt/tile/radiobutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/radiobutton' require 'tkextlib/blt/tile.rb' module Tk::BLT module Tile class RadioButton < Tk::RadioButton TkCommandNames = ['::blt::tile::radiobutton'.freeze].freez...
Ruby
# # tkextlib/blt/tile/button.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/button' require 'tkextlib/blt/tile.rb' module Tk::BLT module Tile class Button < Tk::Button TkCommandNames = ['::blt::tile::button'.freeze].freeze end end end
Ruby
# # tkextlib/blt/tile/checkbutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/checkbutton' require 'tkextlib/blt/tile.rb' module Tk::BLT module Tile class CheckButton < Tk::CheckButton TkCommandNames = ['::blt::tile::checkbutton'.freeze].freez...
Ruby
# # tkextlib/blt/tile/scrollbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/scrollbar' require 'tkextlib/blt/tile.rb' module Tk::BLT module Tile class Scrollbar < Tk::Scrollbar TkCommandNames = ['::blt::tile::scrollbar'.freeze].freeze end ...
Ruby
# # tkextlib/blt/tile/toplevel.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tk/toplevel' require 'tkextlib/blt/tile.rb' module Tk::BLT module Tile class Toplevel < Tk::Toplevel TkCommandNames = ['::blt::tile::toplevel'.freeze].freeze end end...
Ruby
#!/usr/bin/env ruby # # Ruby/Tk extension library checker # # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' TkRoot.new.withdraw # hide root window name = File.basename(__FILE__) add_path = false verbose = false def help_msg print "Usage: #{$0} [-l] [-v] [-h] [--] [dir...
Ruby
# # The vu widget set 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/vu/setup.rb' # load package # TkPackage.require('vu', '2.1') TkPackage.requ...
Ruby
# # tkextlib/bwidget/passwddlg.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' require 'tkextlib/bwidget/messagedlg' module Tk module BWidget class PasswdDlg < Tk::BWidget::MessageDlg end end end class Tk::BWidget::PasswdDlg T...
Ruby
# # tkextlib/bwidget/dynamichelp.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/bwidget.rb' module Tk module BWidget module DynamicHelp end end end module Tk::BWidget::DynamicHelp include Tk extend Tk def self.__pathname 'Dynami...
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/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/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/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/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/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/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/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/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/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
# # 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/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/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
# # 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/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/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/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/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/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/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/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/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/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
# # 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/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/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/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/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/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/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/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
# # 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