static void TagAdded_cb(IntPtr inst, IntPtr tag) { try { TextTagTable __obj = GLib.Object.GetObject(inst, false) as TextTagTable; __obj.OnTagAdded(GLib.Object.GetObject(tag) as Gtk.TextTag); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }