In Files

  • tk/lib/tkextlib/tcllib/cursor.rb
  • tk/lib/tkextlib/tkDND/shape.rb
  • tk/lib/tkextlib/tkDND/tkdnd.rb
  • tk/lib/tkextlib/tktrans/tktrans.rb

Class/Module Index [+]

Quicksearch

TkWindow

Public Instance Methods

cursor_propagate(cursor) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/cursor.rb, line 57
def cursor_propagate(cursor)
  # Sets the cursor for self and all its descendants to cursor.
  #tk_call_without_enc('::cursor::propagate', @path, cursor)
  Tk::Tcllib::Cursor.cursor_propagate(self, cursor)
end
            
cursor_restore(cursor = None) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/cursor.rb, line 62
def cursor_restore(cursor = None)
  # Restore the original or previously set cursor for self and all its
  # descendants. If cursor is specified, that will be used if on any
  # widget that did not have a preset cursor (set by a previous call
  # to TkWindow#cursor_propagate).
  #tk_call_without_enc('::cursor::restore', @path, cursor)
  Tk::Tcllib::Cursor.cursor_restore(self, cursor)
end
            
tktrans_get_image() click to toggle source
 
               # File tk/lib/tkextlib/tktrans/tktrans.rb, line 38
def tktrans_get_image()
  tk_send('tktrans::setwidget', @path)
end
            
tktrans_set_image(img) click to toggle source
 
               # File tk/lib/tkextlib/tktrans/tktrans.rb, line 34
def tktrans_set_image(img)
  tk_send('tktrans::setwidget', @path, img)
  self
end
            

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.