From: ts Date: 2000-12-15T17:30:30+09:00 Subject: [ruby-talk:7301] Re: Ruby/Tk Option Database Question >>>>> "W" == WmLi writes: W> However, I don't think optionAdd is availble in ruby/tk. You have the module TkOption in tk.rb module TkOption include Tk extend Tk def add pat, value, pri=None tk_call 'option', 'add', pat, value, pri end def clear tk_call 'option', 'clear' end def get win, name, klass tk_call 'option', 'get', win ,name, klass end def readfile file, pri=None tk_call 'option', 'readfile', file, pri end module_function :add, :clear, :get, :readfile end Guy Decoux