Florence.GtkSharp.PlotWidget.PlotWidget_KeyPressEvent C# (CSharp) Method

PlotWidget_KeyPressEvent() private method

private PlotWidget_KeyPressEvent ( object o, KeyPressEventArgs args ) : void
o object
args KeyPressEventArgs
return void
        void PlotWidget_KeyPressEvent(object o, KeyPressEventArgs args)
        {
            Modifier key = Key(args.Event.Key);
            key |= ControlKeys(args.Event.State);
            this.InteractivePlotSurface2D.DoKeyPress(key, this.InteractivePlotSurface2D);
            args.RetVal = true;     // Prevents further key processing
        }