]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/lablgtk/lablgtk_20001129-0.1.0/gHtml.ml
Initial revision
[helm.git] / helm / DEVEL / lablgtk / lablgtk_20001129-0.1.0 / gHtml.ml
1 (* $Id$ *)
2
3 open Gaux
4 open Gtk
5 open GtkBase
6 open GObj
7 open GtkXmHTML
8
9 class xmhtml obj = object (self)
10   inherit widget_full (obj : GtkXmHTML.xmhtml obj)
11   method event = new GObj.event_ops obj
12   method freeze = freeze obj
13   method thaw = thaw obj
14   method source = source obj
15   method set_fonts = set_font_familty obj
16   method set_fonts_fixed = set_font_familty_fixed obj
17   method set_anchor_buttons = set_anchor_buttons obj
18   method set_anchor_cursor = set_anchor_cursor obj
19   method set_anchor_underline = set_anchor_underline_type obj
20   method set_anchor_visited_underline = set_anchor_visited_underline_type obj
21   method set_anchor_target_underline = set_anchor_target_underline_type obj
22   method set_topline = set_topline obj
23   method topline = get_topline obj
24   method set_strict_checking = set_strict_checking obj
25   method set_bad_html_warnings = set_bad_html_warnings obj
26   method set_imagemap_draw = set_imagemap_draw obj
27 end
28
29 let xmhtml ?source ?border_width ?width ?height ?packing ?show () =
30   let w = create () in
31   Container.set w ?border_width ?width ?height;
32   may source ~f:(GtkXmHTML.source w);
33   pack_return (new xmhtml w) ~packing ~show