This repository has been archived on 2021-09-15 . You can view files and clone it, but cannot push or open issues or pull requests.
10 lines
316 B
Ruby
10 lines
316 B
Ruby
class TestGtkWindowAttribute < Test::Unit::TestCase
|
|||
include GtkTestUtils
|
|||
|
|||
def test_initialize
|
|||
attrs = Gdk::WindowAttr.new(100, 100, :only, :temp)
|
|||
assert_equal([100, 100, Gdk::Window::INPUT_ONLY, Gdk::Window::TEMP],
|
|||
[attrs.width, attrs.height, attrs.wclass, attrs.window_type])
|
|||
end
|
|||
end
|