class AGTkSplittedFrames
Attributes
frame1[R]
frame2[R]
Public Class Methods
new(parent=nil, frame=nil, length=10, slen=5, user_control=true, keys=nil)
click to toggle source
Calls superclass method
TkFrameAdapter::new
# File lib/a-tkcommons.rb, line 379 def initialize(parent=nil, frame=nil, length=10, slen=5, user_control=true, keys=nil) # if keys.nil? # keys = Hash.new # end # keys.update(Arcadia.style('panel')) super(parent, keys) @parent = parent @slen = slen @user_control = user_control if frame self.attach_frame(frame) end end
Public Instance Methods
maximize(_frame)
click to toggle source
# File lib/a-tkcommons.rb, line 393 def maximize(_frame) p = TkWinfo.parent(@frame) if p.kind_of?(AGTkSplittedFrames) p.maximize(@frame) end end
minimize(_frame)
click to toggle source
# File lib/a-tkcommons.rb, line 400 def minimize(_frame) p = TkWinfo.parent(@frame) if p.kind_of?(AGTkSplittedFrames) p.minimize(@frame) end end