Method: Tk::Tile::TileWidget#ttk_instate
- Defined in:
- lib/tkextlib/tile.rb
#ttk_instate(state, script = nil, &b) ⇒ Object Also known as: tile_instate, instate
309 310 311 312 313 314 315 316 317 |
# File 'lib/tkextlib/tile.rb', line 309 def ttk_instate(state, script=nil, &b) if script tk_send('instate', state, script) elsif b tk_send('instate', state, Proc.new(&b)) else bool(tk_send('instate', state)) end end |