1 (* virt-manager-like graphical management tool.
2 (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
8 (** Given two lists, xs and ys, return a list of items which have been
9 added to ys, items which are the same, and items which have been
11 Returns a triplet (list of added, list of same, list of removed).
13 val differences : 'a list -> 'a list -> 'a list * 'a list * 'a list
15 (** Convert libvirt domain state to a string. *)
16 val string_of_domain_state : Libvirt.Domain.state -> string
18 (** Filter top level rows (only) in a GtkTreeStore. If function f returns
19 true then the row remains, but if it returns false then the row is
22 val filter_top_level_rows : GTree.tree_store -> (Gtk.tree_iter -> bool) -> unit
24 (** Filter rows in a tree_store at a particular level. *)
25 val filter_rows : GTree.tree_store -> (Gtk.tree_iter -> bool) -> Gtk.tree_iter -> unit
27 (** Find the first top level row matching predicate and return it. *)
28 val find_top_level_row : GTree.tree_store -> (Gtk.tree_iter -> bool) -> Gtk.tree_iter
30 (** Find the first row matching predicate f at a particular level. *)
31 val find_row : GTree.tree_store -> (Gtk.tree_iter -> bool) -> Gtk.tree_iter -> Gtk.tree_iter
33 (** Iterate over top level rows (only) in a GtkTreeStore. *)
34 val iter_top_level_rows : GTree.tree_store -> (Gtk.tree_iter -> unit) -> unit
36 (** Iterate over rows in a tree_store at a particular level. *)
37 val iter_rows : GTree.tree_store -> (Gtk.tree_iter -> unit) -> Gtk.tree_iter -> unit