Sha256: 7ceac7f74641b1e8546d8ccf620e0bdd335bd2f5feff2bce0feac3db0d21eff1
Contents?: true
Size: 659 Bytes
Versions: 3
Compression:
Stored size: 659 Bytes
Contents
# # 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'.freeze].freeze WidgetClassName = 'TitleFrame'.freeze WidgetClassNames[WidgetClassName] = self def get_frame(&b) win = window(tk_send_without_enc('getframe')) if b if TkCore::WITH_RUBY_VM ### Ruby 1.9 !!!! win.instance_exec(self, &b) else win.instance_eval(&b) end end win end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tk_as_gem-0.1.0 | ext/lib/tkextlib/bwidget/titleframe.rb |
tk_as_gem-0.0.1 | ext/lib/tkextlib/bwidget/titleframe.rb |
tk_as_gem-0.0.0 | ext/lib/tkextlib/bwidget/titleframe.rb |