Sha256: 51ec1eeb1b0f84bca47c5d1304008570daf4521c634413879221d9966229029e
Contents?: true
Size: 809 Bytes
Versions: 3
Compression:
Stored size: 809 Bytes
Contents
# # 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 Scrollable TkCommandNames = ['ScrollableFrame'.freeze].freeze WidgetClassName = 'ScrollableFrame'.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 def see(win, vert=None, horiz=None) tk_send_without_enc('see', win, vert, horiz) self end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tk_as_gem-0.1.0 | ext/lib/tkextlib/bwidget/scrollableframe.rb |
tk_as_gem-0.0.1 | ext/lib/tkextlib/bwidget/scrollableframe.rb |
tk_as_gem-0.0.0 | ext/lib/tkextlib/bwidget/scrollableframe.rb |