This seems to be a fix for the following problem: $ ruby textedit.rb /usr/local/lib/ruby/site_ruby/1.8/fox16/kwargs.rb:136:in `initialize'': undefined local variable or method `q'' for #<Fox::FXMenuBar:0xb6951f30> (NameError) from textedit.rb:216:in `new'' from textedit.rb:216:in `initialize'' from textedit.rb:1750:in `new'' from textedit.rb:1750 here''s the patch (I''m just guessing based on analogy with other classes): --- kwargs.rb.bck 2007-04-06 22:50:20.000000000 -0700 +++ kwargs.rb 2007-04-06 22:50:20.000000000 -0700 @@ -126,6 +126,7 @@ params = {} params = args.pop if args.last.is_a? Hash if args.length > 0 && (args[0].nil? || args[0].is_a?(FXComposite)) + q = args[0] args.each_with_index { |e, i| params[argument_names[i-1].intern] = e if i >= 1 } if params.key? :padding value = params.delete(:padding) -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407