X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=window.mli;h=670b94ac7270574767d59198480ec6d3695a348b;hb=d4df1eef1b3db3334eb5844f4b7f459c634325a2;hp=0b2acb59a3ba6275a8640a3924cb48ef37a6284d;hpb=1d7c4274827064c684d831c9ef51b198ba8798a2;p=guestfs-browser.git diff --git a/window.mli b/window.mli index 0b2acb5..670b94a 100644 --- a/window.mli +++ b/window.mli @@ -20,7 +20,20 @@ dialogs and so on. *) class window : -object +object ('a) + method after : 'a + method disconnect : GtkSignal.id -> unit + + (** Signals that can be emitted by window menu items. *) + method connect_kvm_signal : callback:(unit -> unit) -> GtkSignal.id + method connect_xen_signal : callback:(unit -> unit) -> GtkSignal.id + method connect_none_signal : callback:(unit -> unit) -> GtkSignal.id + method connect_uri_signal : callback:(unit -> unit) -> GtkSignal.id + method open_disk_signal : callback:(unit -> unit) -> GtkSignal.id + method reopen_signal : callback:(unit -> unit) -> GtkSignal.id + method inspection_signal : callback:(unit -> unit) -> GtkSignal.id + method about_signal : callback:(unit -> unit) -> GtkSignal.id + method failure : exn -> unit (** This is the global error handling function. It is invoked in the main thread for failures in the slave thread (see @@ -40,6 +53,19 @@ object method progress : int64 * int64 -> unit (** This called whenever the progress bar should move. *) + method tree : Filetree.tree + (** Return the filetree contained in the window. *) + + method connect_to : string option -> unit -> unit + (** Connect to the given libvirt URI. *) + + method open_disk_images : (string * string option) list -> unit + (** Open disk image(s) directly. The second part of each pair + is the optional disk format. *) + + method reopen : unit -> unit + (** Reopen the libguestfs handle and current guest. *) + method run_cli_request : Cmdline.cli_request -> unit (** This function performs the {!Cmdline.cli_request} operation. The actual operation happens asynchronously after this function