Crea  Modifica  FrontPage  Indici  Cerca  Ultime modifiche  History  RSS  Login

Gtk::BindingSet

Class Methods

Gtk::BindingSet.find(set_name)
Finds the Gtk::BindingSet which name is the set_name.
Gtk::BindingSet.new(set_name)
Creates a new Gtk::BindingSet.

Instance Methods

activate(keyval, modifiers, object)
Activate the Gtk::BindingSet.
  • keyval: a keyval from a key event(the constants are in Gdk::Keyval)
  • modifiers: keyboard state mask from a key event (GdkModifierType)
  • object: the Gtk::Object
  • Returns: true if the binding_set was handled, false otherwise
add_path(path_type, path_pattern, priority)
Add a path to the Gtk::BindingSet.
entry_add_signal(keyval, modifiers, signal_name, arg1, arg2, ...)
Bind a key event to a signal with arguments.
  • keyval: a keyval from a key event(the constants are in Gdk::Keyval)
  • modifiers: keyboard state mask from a key event (GdkModifierType)
  • signal_name: the signal name to bind.
  • arg1, arg2, ...: the argument values are sended to the signal. The values are String, Numeric, GLib::Enum?, GLib::Flags?, true or false.
  • Returns: self
entry_clear(keyval, modifiers)
Deprecated. Clear an entry.
  • keyval: a keyval from a key event(the constants are in Gdk::Keyval)
  • modifiers: keyboard state mask from a key event (GdkModifierType)
  • Returns: self
entry_remove(keyval, modifiers)
Remove a binding previously installed via Gtk::Binding#entry_add_signal? on binding_set.
  • keyval: a keyval from a key event(the constants are in Gdk::Keyval)
  • modifiers: keyboard state mask from a key event (GdkModifierType)
  • Returns: self
entry_skip(keyval, modifiers)
Install a binding on binding_set which causes key lookups to be aborted, to prevent bindings from lower priority sets to be activated. Since 2.12
  • keyval: a keyval from a key event(the constants are in Gdk::Keyval)
  • modifiers: keyboard state mask from a key event (GdkModifierType)
  • Returns: self

ChangeLog

  • 2006-01-31 Updated to GTK+-2.10. - Masao

- Masao

Ultima modifica:2007/02/01 02:33:16
Parola chiave:
Referenze:[Gtk::BindingSet]