3
require 'tkextlib/iwidgets'
5
sf = Tk::Iwidgets::Scrolledframe.new(:width=>150, :height=>180,
6
:labeltext=>'scrolledframe')
9
TkButton.new(cs, :text=>'Hello').pack(:pady=>10)
10
TkButton.new(cs, :text=>'World').pack(:pady=>10)
11
TkButton.new(cs, :text=>'This is a test').pack(:pady=>10)
12
TkButton.new(cs, :text=>'This is a really big button').pack(:pady=>10)
13
TkButton.new(cs, :text=>'This is another really big button').pack(:pady=>10)
14
TkButton.new(cs, :text=>'This is the last really big button').pack(:pady=>10)
16
sf.pack(:expand=>true, :fill=>:both, :padx=>10, :pady=>10)