diff options
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r-- | ext/tk/lib/tk.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index e32723be96..8fc57f307e 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -579,6 +579,7 @@ module Tk end module Wm + include TkComm def aspect(*args) w = window(tk_call('wm', 'grid', path, *args)) w.split.collect{|s|s.to_i} if args.length == 0 @@ -2412,6 +2413,9 @@ class TkMenubutton<TkLabel end module TkComposite + include Tk + extend Tk + def initialize(parent=nil, *args) @frame = TkFrame.new(parent) @path = @epath = @frame.path |