Class: TkToplevelLayer
- Inherits:
-
TkToplevel
- Object
- TkToplevel
- TkToplevelLayer
- Includes:
- Visible
- Defined in:
- ext/ae-rad/lib/tk/al-tk.rb
Instance Method Summary collapse
-
#initialize ⇒ TkToplevelLayer
constructor
A new instance of TkToplevelLayer.
Methods included from Visible
Constructor Details
#initialize ⇒ TkToplevelLayer
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 |