]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/lablgtkmathview/gMathViewAux.mli
* restored binding with gtkmathview 0.4.0
[helm.git] / helm / DEVEL / lablgtkmathview / gMathViewAux.mli
diff --git a/helm/DEVEL/lablgtkmathview/gMathViewAux.mli b/helm/DEVEL/lablgtkmathview/gMathViewAux.mli
new file mode 100644 (file)
index 0000000..a5aabcf
--- /dev/null
@@ -0,0 +1,74 @@
+(* Copyright (C) 2000, Luca Padovani <luca.padovani@cs.unibo.it>.
+ *
+ * This file is part of lablgtkmathview, the Ocaml binding
+ * for the GtkMathView widget.
+ * 
+ * lablgtkmathview is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * lablgtkmathview is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with lablgtkmathview; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * 
+ * For details, send a mail to the author.
+ *)
+
+class single_selection_math_view_signals :
+  ([> `container | `widget | `base | `math_view] as 'b) Gtk.obj ->
+  ((Gdome.element option -> unit) -> unit) ->
+ object
+  inherit GMathView.math_view_signals
+  method selection_changed : (Gdome.element_of_node option -> unit) -> unit
+ end
+
+class single_selection_math_view :
+  Gtk_mathview.math_view Gtk.obj ->
+  object
+    inherit GMathView.math_view_skel
+    method connect : single_selection_math_view_signals
+    method get_selection : Gdome.element option
+    method set_selection : Gdome.element option -> unit
+  end
+
+val single_selection_math_view :
+  ?adjustmenth:GData.adjustment ->
+  ?adjustmentv:GData.adjustment ->
+  ?font_size:int ->
+  ?font_manager:[ `font_manager_gtk | `font_manager_t1] ->
+  ?border_width:int ->
+  ?width:int ->
+  ?height:int ->
+  ?packing:(GObj.widget -> unit) ->
+  ?show:bool ->
+  unit -> single_selection_math_view
+
+class multi_selection_math_view :
+  Gtk_mathview.math_view Gtk.obj ->
+  object
+    inherit single_selection_math_view
+    method remove_selection : Gdome.element -> unit
+    method remove_selections : unit
+    method add_selection : Gdome.element -> unit
+    method get_selections : Gdome.element list
+  end
+
+val multi_selection_math_view :
+  ?adjustmenth:GData.adjustment ->
+  ?adjustmentv:GData.adjustment ->
+  ?font_size:int ->
+  ?font_manager:[ `font_manager_gtk | `font_manager_t1] ->
+  ?border_width:int ->
+  ?width:int ->
+  ?height:int ->
+  ?packing:(GObj.widget -> unit) ->
+  ?show:bool ->
+  unit -> multi_selection_math_view
+
+