static void TextPopped_cb(IntPtr inst, uint context_id, IntPtr text) { try { Statusbar __obj = GLib.Object.GetObject(inst, false) as Statusbar; __obj.OnTextPopped(context_id, GLib.Marshaller.Utf8PtrToString(text)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }