Class: Gdk::WindowAttr

Inherits:
Object
  • Object
show all
Extended by:
GLib::Deprecatable
Defined in:
lib/gdk3/deprecated.rb,
lib/gdk3/window-attr.rb

Instance Method Summary collapse

Constructor Details

#initialize(width, height, window_class, window_type) ⇒ WindowAttr

Returns a new instance of WindowAttr.



20
21
22
23
24
25
26
# File 'lib/gdk3/window-attr.rb', line 20

def initialize(width, height, window_class, window_type)
  initialize_raw
  self.width = width
  self.height = height
  self.wclass = window_class
  self.window_type = window_type
end

Instance Method Details

#initialize_rawObject



19
# File 'lib/gdk3/window-attr.rb', line 19

alias_method :initialize_raw, :initialize