module TestGdkEvent::TestAnyMethods

Public Instance Methods

test_send_event?() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 38
def test_send_event?
  assert_false(event.send_event?)
end
test_window() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 30
def test_window
  assert_nil(event.window)
  attributes = Gdk::WindowAttr.new(100, 100, :input_only, :temp)
  window = Gdk::Window.new(nil, attributes, 0)
  event.window = window
  assert_equal(window, event.window)
end