# File gtk2/test/test_gtk_entry.rb, line 4 def setup @entry = Gtk::Entry.new end
# File gtk2/test/test_gtk_entry.rb, line 8 def test_cursor_hadjustment only_gtk_version(2, 12) assert_nil(@entry.cursor_hadjustment) adjustment = Gtk::Adjustment.new(0.0, 0.0, 100.0, 100.0, 1.0, 1.0) @entry.cursor_hadjustment = adjustment assert_equal(adjustment, @entry.cursor_hadjustment) end
Generated with the Darkfish Rdoc Generator 2.