Class: AGTkGridManager

Inherits:
Object
  • Object
show all
Defined in:
ext/ae-rad/lib/tk/al-tk.rb

Instance Method Summary collapse

Constructor Details

#initialize(_agobj, _active) ⇒ AGTkGridManager

Returns a new instance of AGTkGridManager.



603
604
605
606
607
608
609
610
611
612
613
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 603

def initialize(_agobj, _active)
  unless defined? _agobj.ag_parent
    return
  end
  @agobj = _agobj
  if !defined? @@grids_managers
    @@grids_managers = Array.new
  end
  activate if _active
  @@grids_managers << self
end

Instance Method Details

#activateObject



618
619
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 618

def activate
end

#deactivateObject



615
616
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 615

def deactivate
end