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
add_signal
-
Keyword(s):
References:[Gtk::BindingSet] [News_20040308_1] [api-gtk-index] [index-ruby-gtk2] [News (2013-12-29 No.1)] [Ruby/GTK]