Sha256: 6e0ea46862dec24791171fd362c6d275ed246474509bd74a3c8d90ab87ae625b
Contents?: true
Size: 652 Bytes
Versions: 3
Compression:
Stored size: 652 Bytes
Contents
# # 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::pushbutton'.freeze].freeze WidgetClassName = 'Pushbutton'.freeze WidgetClassNames[WidgetClassName] = self def __boolval_optkeys super() << 'defaultring' end private :__boolval_optkeys def invoke tk_call_without_enc(@path, 'invoke') self end def flash tk_call_without_enc(@path, 'flash') self end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tk_as_gem-0.1.0 | ext/lib/tkextlib/iwidgets/pushbutton.rb |
tk_as_gem-0.0.1 | ext/lib/tkextlib/iwidgets/pushbutton.rb |
tk_as_gem-0.0.0 | ext/lib/tkextlib/iwidgets/pushbutton.rb |