diff options
| author | herbelin | 2005-11-18 17:09:10 +0000 |
|---|---|---|
| committer | herbelin | 2005-11-18 17:09:10 +0000 |
| commit | c274772c61a8b11597dc87c346c7c74ab6d54024 (patch) | |
| tree | cdc9af5b90179a23fd0a9155625da37da3e1f4d9 /ide | |
| parent | 447d09fc67b0c06098f64ff4fa2bbd2778730c33 (diff) | |
Détection de la version de lablgtk (type GText.view)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7580 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide')
| -rw-r--r-- | ide/undo_lablgtk_ge26.mli | 35 | ||||
| -rw-r--r-- | ide/undo_lablgtk_lt26.mli (renamed from ide/undo.mli) | 2 |
2 files changed, 36 insertions, 1 deletions
diff --git a/ide/undo_lablgtk_ge26.mli b/ide/undo_lablgtk_ge26.mli new file mode 100644 index 0000000000..e949daafed --- /dev/null +++ b/ide/undo_lablgtk_ge26.mli @@ -0,0 +1,35 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +(*i $Id$ i*) + +(* An undoable view class *) + +class undoable_view : [> Gtk.text_view] Gtk.obj -> +object + inherit GText.view + method undo : bool + method redo : bool + method clear_undo : unit +end + +val undoable_view : + ?buffer:GText.buffer -> + ?editable:bool -> + ?cursor_visible:bool -> + ?justification:GtkEnums.justification -> + ?wrap_mode:GtkEnums.wrap_mode -> + ?border_width:int -> + ?width:int -> + ?height:int -> + ?packing:(GObj.widget -> unit) -> + ?show:bool -> + unit -> + undoable_view + + diff --git a/ide/undo.mli b/ide/undo_lablgtk_lt26.mli index 1ea8fbea09..82bcf2384d 100644 --- a/ide/undo.mli +++ b/ide/undo_lablgtk_lt26.mli @@ -10,7 +10,7 @@ (* An undoable view class *) -class undoable_view : [>Gtk.text_view] Gtk.obj -> +class undoable_view : Gtk.text_view Gtk.obj -> object inherit GText.view method undo : bool |
