Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tkextlib/tile.rb

Class/Module Index [+]

Quicksearch

Tk::Tile::TileWidget

Public Instance Methods

identify(x, y) click to toggle source
Alias for: ttk_identify
instate(state, script=nil, &b) click to toggle source
Alias for: ttk_instate
state(state=nil) click to toggle source
Alias for: ttk_state
tile_identify(x, y) click to toggle source
Alias for: ttk_identify
tile_instate(state, script=nil, &b) click to toggle source
Alias for: ttk_instate
tile_state(state=nil) click to toggle source
Alias for: ttk_state
ttk_identify(x, y) click to toggle source
 
               # File tk/lib/tkextlib/tile.rb, line 356
def ttk_identify(x, y)
  ret = tk_send_without_enc('identify', x, y)
  (ret.empty?)? nil: ret
end
            
Also aliased as: tile_identify, identify
ttk_instate(state, script=nil, &b) click to toggle source
 
               # File tk/lib/tkextlib/tile.rb, line 336
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
            
Also aliased as: tile_instate, instate
ttk_state(state=nil) click to toggle source
 
               # File tk/lib/tkextlib/tile.rb, line 347
def ttk_state(state=nil)
  if state
    tk_send('state', state)
  else
    list(tk_send('state'))
  end
end
            
Also aliased as: tile_state, state

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.