C# Class Gtk.Tasque.GlobalKeybinder

Provide keybindings via a fake Gtk.Menu.
Mostra file Open project: GNOME/tasque

Public Methods

Method Description
AddAccelerator ( EventHandler handler, uint key, Gdk modifiers, Gtk flags ) : void

Add a keybinding for this keybinder's AccelGroup.

GlobalKeybinder ( Gtk accel_group ) : System

Create a global keybinder for the given Gtk.AccelGroup.

Method Details

AddAccelerator() public method

Add a keybinding for this keybinder's AccelGroup.
public AddAccelerator ( EventHandler handler, uint key, Gdk modifiers, Gtk flags ) : void
handler EventHandler /// A for when the keybinding is /// activated. ///
key uint /// A specifying the key that will /// be bound (see the Gdk.Key enumeration for common values). ///
modifiers Gdk /// The to be used on key /// for this binding. ///
flags Gtk /// The for this binding. ///
return void

GlobalKeybinder() public method

Create a global keybinder for the given Gtk.AccelGroup.
public GlobalKeybinder ( Gtk accel_group ) : System
accel_group Gtk
return System