CSPspEmu.Gui.GtkSharp.GtkProgram.Window_KeyPressEvent C# (CSharp) Method

Window_KeyPressEvent() private method

private Window_KeyPressEvent ( object o, Gtk.KeyPressEventArgs args ) : void
o object
args Gtk.KeyPressEventArgs
return void
        void Window_KeyPressEvent(object o, KeyPressEventArgs args)
        {
            Console.WriteLine("Pressing: {0}", args.Event.Key);
            CommonGuiInput.KeyPress(args.Event.Key.ToString());
            args.RetVal = true;
        }