+ let module S = GtkSignal in
+ let new_selection_changed =
+ let new_marshaller f x y =
+ MathView.Signals.selection_changed.S.marshaller
+ (function None -> f None | Some e -> f (Some (new Gdome.element e))) x y
+ in
+ { S.name = "selection_changed"; S.classe = `math_view;
+ S.marshaller = new_marshaller }
+ in
+ GtkSignal.connect ~sgn:new_selection_changed obj ~after