X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=filetree.mli;h=9207cf71bb263b7951da5603e3d3fac884c37106;hb=02614e74adee2a5d499bd557a6adde99a3c56e73;hp=cd047cc207be78d11b371291b41beade5185583f;hpb=73f1dc10b4279528818fe0fda33daf4c34488d21;p=guestfs-browser.git diff --git a/filetree.mli b/filetree.mli index cd047cc..9207cf7 100644 --- a/filetree.mli +++ b/filetree.mli @@ -30,15 +30,9 @@ type t (** A filetree widget. Actually an opaque object which contains the widget and other data. Use the accessors below. *) -val create : ?status:(string -> unit) -> packing:(GObj.widget -> unit) -> unit -> t +val create : packing:(GObj.widget -> unit) -> unit -> t (** Create a new filetree widget (empty). - In the optional [?status] parameter you can pass in some - function that updates a status bar. This function will be - called by the filetree whenever the user should be told about - some ordinary event having happened (for example, that a file is - being downloaded or has finished downloading). - [~packing] is the required packing for the widget. *) val clear : t -> unit @@ -49,6 +43,3 @@ val add : t -> string -> Slave.inspection_data -> unit system and/or filesystems described by the [data] struct. The [name] parameter should be some host-side (verifiable) name; usually we pass the name of the guest from libvirt here. *) - -val set_status_fn : t -> (string -> unit) -> unit - (** Set or update the [status] function. *)