static void MoveCursor_cb(IntPtr inst, int step, int count, bool extend_selection) { try { Label __obj = GLib.Object.GetObject(inst, false) as Label; __obj.OnMoveCursor((Gtk.MovementStep)step, count, extend_selection); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }