Class: TkToplevelLayer

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

Instance Method Summary collapse

Methods included from Visible

#hide, #show

Constructor Details

#initializeTkToplevelLayer

Returns a new instance of TkToplevelLayer.


1283
1284
1285
1286
1287
1288
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 1283

def initialize()
  super
  takefocus 1
  withdraw
  protocol( "WM_DELETE_WINDOW", proc{self.hide})
end