Sha256: 15f2165219f8d33a6a3370e8ebb519a76123cc4b40b7a59d354d7a480f96b028
Contents?: true
Size: 849 Bytes
Versions: 3
Compression:
Stored size: 849 Bytes
Contents
# # tkextlib/iwidgets/finddialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Finddialog < Tk::Iwidgets::Dialogshell end end end class Tk::Iwidgets::Finddialog TkCommandNames = ['::iwidgets::finddialog'.freeze].freeze WidgetClassName = 'Finddialog'.freeze WidgetClassNames[WidgetClassName] ||= self def __strval_optkeys super() + [ 'patternbackground', 'patternforeground', 'searchbackground', 'searchforeground' ] end private :__strval_optkeys def __val2ruby_optkeys # { key=>proc, ... } super().update('textwidget'=>proc{|v| window(v)}) end private :__val2ruby_optkeys def clear tk_call(@path, 'clear') self end def find tk_call(@path, 'find') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tk-win-0.2.2-x86-mingw32 | lib/tkextlib/iwidgets/finddialog.rb |
tk-win-0.2.1-x86-mingw32 | lib/tkextlib/iwidgets/finddialog.rb |
tk-win-0.2.0-x86-mingw32 | lib/tkextlib/iwidgets/finddialog.rb |