Class: Fzeet::MDIChild

Inherits:
Object
  • Object
show all
Defined in:
lib/fzeet/windows/user/Window/MDI.rb

Instance Method Summary collapse

Constructor Details

#initialize(parent, opts = {}) ⇒ MDIChild

Returns a new instance of MDIChild.



53
54
55
56
57
58
59
# File 'lib/fzeet/windows/user/Window/MDI.rb', line 53

def initialize(parent, opts = {})
  (opts[:xstyle] ||= []) << :mdichild
  (opts[:style] ||= []) << :child << :overlappedwindow << :clipsiblings << :clipchildren << :visible
  opts[:parent] = parent

  super(opts)
end