Class: TkWindow (Ruby 2.3.4)

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)
 
               # 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)
 
               # 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()
 
               # File tk/lib/tkextlib/tktrans/tktrans.rb, line 38
def tktrans_get_image()
  tk_send('tktrans::setwidget', @path)
end
            
tktrans_set_image(img)
 
               # File tk/lib/tkextlib/tktrans/tktrans.rb, line 34
def tktrans_set_image(img)
  tk_send('tktrans::setwidget', @path, img)
  self
end