Included Modules

Class/Module Index [+]

Quicksearch

TestGtkWindowAttribute

Public Instance Methods

test_initialize() click to toggle source
# File gtk2/test/test_gdk_window_attribute.rb, line 4
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

[Validate]

Generated with the Darkfish Rdoc Generator 2.