9 external gdome_element_of_boxed_option :
10 Gpointer.boxed option -> TElement.t =
11 "ml_gtk_math_view_gdome_element_of_boxed_option"
14 external gdome_element_option_of_boxed_option :
15 Gpointer.boxed option -> TElement.t option =
16 "ml_gtk_math_view_gdome_element_option_of_boxed_option"
19 let option_element_of_option =
22 | Some v -> Some (new Gdome.element v)
25 let option_element_of_boxed_option x =
26 option_element_of_option (gdome_element_option_of_boxed_option x)
29 let gdome_element_option_conv =
30 {Gobject.kind = `POINTER ;
33 `POINTER element -> option_element_of_boxed_option element
34 | _ -> failwith "gdome_element_option_conv") ;
36 (function element -> assert false)
42 let set_params self ~font_size ~log_verbosity =
45 Some s -> self#set_font_size s
49 match log_verbosity with
50 Some v -> self#set_log_verbosity v
56 let pack_return create p ?packing ?show () =
57 GObj.pack_return (create p) ~packing ~show
63 GdomeElement_option "gdome_element_option_conv"
67 GtkAdjustment "Gtk.adjustment obj"
68 GtkDrawingArea "Gtk.drawing_area obj"
72 class MathView set wrapsig : EventBox {
76 "top-x" gint : Read / Write / NoSet
77 "top-y" gint : Read / Write / NoSet
78 "hadjustment" GtkAdjustment : Read / Write / Construct
79 "vadjustment" GtkAdjustment : Read / Write / Construct
80 "buffer" GdkPixmap : Read
81 "drawing-area" GtkDrawingArea : Read
82 "font-size" guint : Read / Write / Construct
83 "log-verbosity" gint : Read / Write / Construct
84 "root-element" GdomeElement_option : Read
86 signal click: GdomeElement_option gint
87 signal select_begin: GdomeElement_option gint
88 signal select_over: GdomeElement_option gint
89 signal select_end: GdomeElement_option gint
91 signal element_over: GdomeElement_option gint