Included Modules

Class/Module Index [+]

Quicksearch

TestGtkRcStyle

Public Instance Methods

setup() click to toggle source
# File gtk2/test/test_gtk_rc_style.rb, line 4
def setup
  @style = Gtk::RcStyle.new
end
test_color_flags() click to toggle source
# 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.