]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaGtkMisc.mli
added icons to entries shown in cicbrowser so that directories are
[helm.git] / helm / matita / matitaGtkMisc.mli
index 993dff4c37c0f74b82dace32a85b8c117b7d70c1..32b1fe53b945c600d801cac670348def88fee90c 100644 (file)
@@ -73,6 +73,20 @@ class stringListModel:
     method easy_selection:  unit -> string list
   end
 
+  (** as above with Pixbuf associated to each row. Each time an insert is
+   * performed a string tag should be specified, the corresponding pixbuf in the
+   * tags associative list will be shown on the left of the inserted row *)
+class taggedStringListModel:
+  tags:((string * GdkPixbuf.pixbuf) list) ->
+  GTree.view ->
+  object
+    method list_store: GTree.list_store (** list_store forwarding *)
+
+    method easy_append:     tag:string -> string -> unit
+    method easy_insert:     int -> tag:string -> string -> unit
+    method easy_selection:  unit -> string list
+  end
+
 (** {2 Matita GUI components} *)
 
 class type gui =