Last Modified
2013-06-13 12:54:42 +0200
Requires
  • gtk2

Description

bindings.rb - Ruby/GTK sample script.

Copyright (c) 2002-2006 Ruby-GNOME2 Project Team 
This program is licenced under the same licence as Ruby-GNOME2.

$Id: bindings.rb,v 1.7 2006/06/17 13:18:12 mutoh Exp $

Usage:

bindings.rb <filename>

Following key bindings are effective in the TextView area.

  <space>      : scroll down by one page
  <backspace>  : scroll up by one page
  j            : move cursor donw by one line
  k            : move cursor up by one line

clicking buttons cause following effect

  "space"      : same as pressing <space> in text view area.
  "back_space" : same as pressing <backspace> in text view area.
  "cancel j/k" : disable 'j' and 'k' binding