X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=filetree.mli;h=e2fcef230e04063c50fdb3e9f20d1e2f41bf5853;hb=43c88e258fcbf22e1c0b2bdb15f6b0ba9f681548;hp=b6af8ce23666a8d3711ec21e537d34cd35d4859e;hpb=2ed92137182d4d479dddddeccaf6ad8dae967895;p=guestfs-browser.git diff --git a/filetree.mli b/filetree.mli index b6af8ce..e2fcef2 100644 --- a/filetree.mli +++ b/filetree.mli @@ -46,6 +46,12 @@ object ('a) not any untrusted string from the guest; usually we pass the name of the guest from libvirt here. *) + method oses : Slave_types.inspection_os list + (** If operating system root(s) are currently loaded into the + filetree widget, this returns a list of them. If none are + loaded (empty, or could be just a pile of filesystems), then this + returns an empty list. *) + method get_pathname : Gtk.tree_iter -> Slave_types.source * string (** Use [get_pathname row] on a [row] representing a file or directory. It searches back up the tree to get the source @@ -54,6 +60,10 @@ object ('a) Don't use this on registry entries. Use {!get_registry_path} instead. *) + method get_direntry : Gtk.tree_iter -> Slave_types.direntry + (** [get_direntry row] returns the file and stat information for a + file or directory. *) + method get_registry_path : Gtk.tree_iter -> registry_t * string list (** Use [get_registry_path row] on a [row] representing a registry entry. It searches back up the tree and returns a tuple @@ -133,6 +143,8 @@ object ('a) callback:(Gtk.tree_path -> unit) -> GtkSignal.id method op_file_information : callback:(Gtk.tree_path -> unit) -> GtkSignal.id + method op_file_properties : + callback:(Gtk.tree_path -> unit) -> GtkSignal.id method op_inspection_dialog : callback:(Slave_types.inspection_os -> unit) -> GtkSignal.id method op_view_file :