|
NAMEApp::ZFSCurses::UI::Datasets - Draw a list of ZFS datasets.VERSIONVersion 1.211.SYNOPSISThe App::ZFSCurses::UI::Datasets module is in charge of drawing a list of ZFS datasets.METHODSnewCreate an instance of App::ZFSCurses::UI::Datasets.draw_and_runDraw and run the UI. Also perform a couple of checks before actually running the UI which are: 1) checking whether the 'zfs' command is actually installed, 2) checking whether the user is root (required for tweaking properties).exit_dialogCallback when Ctrl+q is pressed. Draw a dialog to ask user for confirmation if he wants to quit the program.show_helpCallback when F1 is pressed. Draw a dialog to print info about the selected property.draw_buttonsDraw the buttons shown at the bottom left of the screen.NOTE: There are severals of these functions. They are called when going back and forth from one screen to another to redraw some parts of the screen such as buttons and labels. draw_main_listboxDraw the main listbox.draw_change_go_back_bboxDraw the "Change properties" and "Go back" button box.draw_dataset_properties_screenDraw the dataset properties screen.draw_property_change_screenDraw the property change screen.onpress_show_dataset_propertiesCallback when a dataset is selected and shown.onpress_change_propertyCallback when a property is changed.onpress_back_to_datasets_listCallback when the user goes back to the list of datasets.onpress_back_to_properties_listCallback when the user goes back to the list of properties.onpress_destroyCallback when a dataset is to be destroyed.SEE ALSOThe Curses::UI Perl module.AUTHORPatrice Clement <monsieurp at cpan.org>LICENSE AND COPYRIGHTThis software is copyright (c) 2020 by Patrice Clement.This is free software, licensed under the (three-clause) BSD License. See the LICENSE file.
Visit the GSP FreeBSD Man Page Interface. |