MathView.Signals.clicked.S.marshaller
(fun e -> f (new Gdome.element e)) x y
in
- { S.name = "clicked"; S.marshaller = new_marshaller }
+ { S.name = "clicked"; S.classe = `math_view;
+ S.marshaller = new_marshaller }
in
GtkSignal.connect ~sgn:new_clicked obj ~after
method selection_changed =
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.marshaller = new_marshaller }
+ { S.name = "selection_changed"; S.classe = `math_view;
+ S.marshaller = new_marshaller }
in
GtkSignal.connect ~sgn:new_selection_changed obj ~after
method element_changed =
MathView.Signals.element_changed.S.marshaller
(function None -> f None | Some e -> f (Some (new Gdome.element e))) x y
in
- { S.name = "element_changed"; S.marshaller = new_marshaller }
+ { S.name = "element_changed"; S.classe = `math_view;
+ S.marshaller = new_marshaller }
in
GtkSignal.connect ~sgn:new_element_changed obj ~after
end
exception ErrorLoadingDOM
exception NoSelection
class math_view_signals :
- ([> `container | `widget] as 'b) Gtk.obj ->
+ ([> `container | `widget | `base | `math_view] as 'b) Gtk.obj ->
object ('a)
inherit GContainer.container_signals
+ val obj: 'b Gtk.obj
method clicked : callback:(Gdome.element -> unit) -> GtkSignal.id
method element_changed :
callback:(Gdome.element option -> unit) -> GtkSignal.id
[GtkArgv.POINTER element] -> f (gdome_element_of_boxed_option element)
| _ -> invalid_arg "GtkMathView.MathView.Signals.marshal_clicked"
in
- { name = "clicked"; marshaller = marshal_clicked }
+ { name = "clicked"; classe = `math_view; marshaller = marshal_clicked }
let selection_changed : ([>`math_view],_) t =
let marshal_selection_changed f _ =
[GtkArgv.POINTER element] -> f (gdome_element_option_of_boxed_option element)
| _ -> invalid_arg "GtkMathView.MathView.Signals.marshal_selection_changed"
in
- { name = "selection_changed"; marshaller = marshal_selection_changed }
+ { name = "selection_changed"; classe = `math_view;
+ marshaller = marshal_selection_changed }
let element_changed : ([>`math_view],_) t =
let marshal_element_changed f _ =
[GtkArgv.POINTER element] -> f (gdome_element_option_of_boxed_option element)
| _ -> invalid_arg "GtkMathView.MathView.Signals.marshal_element_changed"
in
- { name = "element_changed"; marshaller = marshal_element_changed }
+ { name = "element_changed"; classe = `math_view;
+ marshaller = marshal_element_changed }
end
end
* For details, send a mail to the author.
*)
-type math_view = [`widget|`container|`bin|`eventbox|`math_view]
+type math_view = [`widget|`container|`bin|`eventbox|`math_view|`base]