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.



34
35
36
37
38
39
40
# File 'lib/fzeet/windows/user/Window/MDI.rb', line 34

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

	super(opts)
end