X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Flablgtkmathview%2FgMathView.mli;h=bf5b56e2a8a42fe61bc05af3d178f970d4ac5b1c;hb=fdd8107cc53f5e862004aa5fcd48593ee5634234;hp=5b9fdc803fec0608114a7e01353d6c49b3187f60;hpb=1c22e6a7aa5a776bc4fb2982826aa53d171a2d5f;p=helm.git diff --git a/helm/DEVEL/lablgtkmathview/gMathView.mli b/helm/DEVEL/lablgtkmathview/gMathView.mli index 5b9fdc803..bf5b56e2a 100644 --- a/helm/DEVEL/lablgtkmathview/gMathView.mli +++ b/helm/DEVEL/lablgtkmathview/gMathView.mli @@ -24,22 +24,23 @@ exception ErrorLoadingFile of string exception ErrorWritingFile of string exception ErrorLoadingDOM -exception NoSelection class math_view_signals : - ([> `container | `widget | `base | `math_view] as 'b) Gtk.obj -> + ([> `gtk | `mathview_gmetadom | `widget] as 'b) Gtk.obj -> object ('a) - inherit GContainer.container_signals + inherit GObj.widget_signals + val after: bool val obj: 'b Gtk.obj - method click : callback:(Gdome.element -> int -> unit) -> GtkSignal.id + method click : + callback:(Gdome.element option * int * int * int -> unit) -> GtkSignal.id method element_over : - callback:(Gdome.element option -> int -> unit) -> GtkSignal.id + callback:(Gdome.element option * int * int * int -> unit) -> GtkSignal.id method select_begin : - callback:(Gdome.element option -> int -> unit) -> GtkSignal.id + callback:(Gdome.element option * int * int * int -> unit) -> GtkSignal.id method select_over : - callback:(Gdome.element option -> int -> unit) -> GtkSignal.id + callback:(Gdome.element option * int * int * int -> unit) -> GtkSignal.id method select_end : - callback:(Gdome.element option -> int -> unit) -> GtkSignal.id + callback:(Gdome.element option * int * int * int -> unit) -> GtkSignal.id method select_abort : callback:(unit -> unit) -> GtkSignal.id end @@ -47,42 +48,28 @@ class math_view_signals : class math_view_skel : (Gtk_mathview.math_view Gtk.obj as 'a)-> object - inherit GContainer.container + inherit GObj.widget method freeze : unit method thaw : unit - method export_to_postscript : - ?width:int -> - ?height:int -> - ?x_margin:int -> - ?y_margin:int -> - ?disable_colors:bool -> filename:string -> unit -> unit - method get_anti_aliasing : bool method get_buffer : Gdk.pixmap - method get_font_manager_type : [ `font_manager_gtk | `font_manager_t1] method get_font_size : int - method get_frame : GBin.frame - method get_drawing_area : GMisc.drawing_area - method get_hadjustment : GData.adjustment - method get_height : int + method get_adjustments : GData.adjustment * GData.adjustment + method get_size : int * int method get_log_verbosity : int method get_top : int * int - method get_transparency : bool - method get_vadjustment : GData.adjustment - method get_width : int method load_uri : filename:string -> unit - method load_doc : dom:Gdome.document -> unit + method load_root : root:Gdome.element -> unit method set_adjustments : GData.adjustment -> GData.adjustment -> unit - method set_anti_aliasing : bool -> unit - method set_font_manager_type : - fm_type:[ `font_manager_gtk | `font_manager_t1] -> unit method set_font_size : int -> unit method set_log_verbosity : int -> unit + method structure_changed : Gdome.element -> unit + method attribute_changed : Gdome.element -> name:Gdome.domString -> unit + method get_bounding_box : int * int * int method select : Gdome.element -> unit method unselect : Gdome.element -> unit method get_element_at : int -> int -> Gdome.element option method is_selected : Gdome.element -> bool method set_top : int -> int -> unit - method set_transparency : bool -> unit method unload : unit val obj : 'a end @@ -95,11 +82,10 @@ class math_view : end val math_view : - ?adjustmenth:GData.adjustment -> - ?adjustmentv:GData.adjustment -> + ?hadjustment:GData.adjustment -> + ?vadjustment:GData.adjustment -> ?font_size:int -> - ?font_manager:[ `font_manager_gtk | `font_manager_t1] -> - ?border_width:int -> + ?log_verbosity:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> math_view