# File gtk2/test/test_gtk_rc_style.rb, line 4 def setup @style = Gtk::RcStyle.new end
# File gtk2/test/test_gtk_rc_style.rb, line 8 def test_color_flags assert_equal(Gtk::RC::Flags.new, @style.color_flags(:normal)) @style.set_color_flags(:normal, [:fg, :bg]) assert_equal(Gtk::RC::Flags::FG | Gtk::RC::Flags::BG, @style.color_flags(:normal)) end
Generated with the Darkfish Rdoc Generator 2.