Module: Visible

Included in:
TkFrameLayer, TkToplevelLayer
Defined in:
ext/ae-rad/lib/tk/al-tk.rb

Instance Method Summary collapse

Instance Method Details

#hide(object = self) ⇒ Object


1272
1273
1274
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 1272

def hide object = self
  object.withdraw
end

#show(object = self) ⇒ Object


1275
1276
1277
1278
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 1275

def show object = self
  object.takefocus(1)
  object.deiconify
end