# File tk/lib/tkextlib/iwidgets/scrolledframe.rb, line 22
def child_site
window(tk_call(@path, 'childsite'))
end
# File tk/lib/tkextlib/iwidgets/scrolledframe.rb, line 26
def justify(dir)
tk_call(@path, 'justify', dir)
self
end
# File tk/lib/tkextlib/iwidgets/scrolledframe.rb, line 31
def xview(*index)
if index.size == 0
list(tk_send_without_enc('xview'))
else
tk_send_without_enc('xview', *index)
self
end
end
# File tk/lib/tkextlib/iwidgets/scrolledframe.rb, line 39
def xview_moveto(*index)
xview('moveto', *index)
end
# File tk/lib/tkextlib/iwidgets/scrolledframe.rb, line 42
def xview_scroll(*index)
xview('scroll', *index)
end
# File tk/lib/tkextlib/iwidgets/scrolledframe.rb, line 46
def yview(*index)
if index.size == 0
list(tk_send_without_enc('yview'))
else
tk_send_without_enc('yview', *index)
self
end
end
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.