gu

Constants

pub const type_error: String = "--error"
pub const type_info: String = "--info"
pub const type_question: String = "--question"
pub const type_warning: String = "--warning"
pub const zenity: List(String) = ["zenity"]

Functions

pub fn about(cmd: List(String)) -> List(String)
pub fn add_bool(
   cmd: List(String),
   opt: Bool,
   str: String,
) -> List(String)
pub fn add_calendar(
   command: List(String),
   calendar: String,
) -> List(String)
pub fn add_column(
   command: List(String),
   column: String,
) -> List(String)
pub fn add_combo_and_values(
   command: List(String),
   combo: String,
   values values: List(String),
) -> List(String)
pub fn add_entry(
   command: List(String),
   entry: String,
) -> List(String)
pub fn add_list_and_values(
   command: List(String),
   list_name: String,
   values values: List(String),
   column_values column_values: Option(List(String)),
) -> List(String)
pub fn add_opt(
   cmd: List(String),
   opt: Option(String),
   str: String,
) -> List(String)
pub fn add_opt_list(
   cmd: List(String),
   opt_list: Option(List(String)),
   str: String,
) -> List(String)
pub fn add_password(
   command: List(String),
   password: String,
) -> List(String)
pub fn add_row(
   command: List(String),
   row: List(String),
) -> List(String)
pub fn add_value(
   cmd: List(String),
   value: String,
) -> List(String)
pub fn exit(status: Int) -> Nil
pub fn help_all(cmd: List(String)) -> List(String)
pub fn new_calendar(
   command: List(String),
   text text: Option(String),
   day day: Option(String),
   month month: Option(String),
   year year: Option(String),
   date_format date_format: Option(String),
) -> List(String)
pub fn new_color_selection(
   command: List(String),
   color color: Option(String),
   show_palette show_palette: Bool,
) -> List(String)
pub fn new_entry(
   command: List(String),
   text text: Option(String),
   entry_text entry_text: Option(String),
   hide_text hide_text: Bool,
) -> List(String)
pub fn new_error(command: List(String)) -> List(String)
pub fn new_file_selection(
   command: List(String),
   filename filename: Option(String),
   multiple multiple: Bool,
   directory directory: Bool,
   save save: Bool,
   separator separator: Option(String),
   file_filter file_filter: Option(List(String)),
) -> List(String)
pub fn new_form(command: List(String)) -> List(String)
pub fn new_info(command: List(String)) -> List(String)
pub fn new_list(command: List(String)) -> List(String)
pub fn new_list_opts(
   command: List(String),
   checklist checklist: Bool,
   radiolist radiolist: Bool,
   imagelist imagelist: Bool,
   separator separator: Option(String),
   multiple multiple: Bool,
   editable editable: Bool,
   print_column print_column: Option(String),
   hide_column hide_column: Option(String),
   hide_header hide_header: Bool,
) -> List(String)
pub fn new_message_opts(
   command: List(String),
   text text: Option(String),
   icon icon: Option(String),
   no_wrap no_wrap: Bool,
   no_markup no_markup: Bool,
   ellipsize ellipsize: Bool,
) -> List(String)
pub fn new_notification(
   command: List(String),
   text text: Option(String),
   icon icon: Option(String),
   listen listen: Bool,
) -> List(String)
pub fn new_password(
   command: List(String),
   username username: Option(String),
) -> List(String)
pub fn new_progress(
   command: List(String),
   text text: Option(String),
   percentage percentage: Option(String),
   pulsate pulsate: Bool,
   auto_close auto_close: Bool,
   auto_kill auto_kill: Bool,
   no_cancel no_cancel: Bool,
   time_remaining time_remaining: Bool,
) -> List(String)
pub fn new_question(command: List(String)) -> List(String)
pub fn new_question_opts(
   command: List(String),
   default_cancel default_cancel: Bool,
   switch switch: Bool,
) -> List(String)
pub fn new_scale(
   command: List(String),
   text text: Option(String),
   value value: Option(String),
   min_value min_value: Option(String),
   max_value max_value: Option(String),
   step step: Option(String),
   print_partial print_partial: Bool,
   hide_value hide_value: Bool,
) -> List(String)
pub fn new_text_info(
   command: List(String),
   filename filename: Option(String),
   editable editable: Bool,
   font font: Option(String),
   checkbox checkbox: Option(String),
   auto_scroll auto_scroll: Bool,
) -> List(String)
pub fn new_warning(command: List(String)) -> List(String)
pub fn parse(str: String) -> String
pub fn parse_list(str: String, separator: String) -> List(String)
pub fn run(
   command: List(String),
   errors errors: Bool,
) -> Option(#(Int, String))
pub fn set_cancel_label(
   command: List(String),
   cancel_label: String,
) -> List(String)
pub fn set_extra_button(
   command: List(String),
   extra_button: String,
) -> List(String)
pub fn set_forms_date_format(
   command: List(String),
   format: String,
) -> List(String)
pub fn set_height(
   command: List(String),
   height: String,
) -> List(String)
pub fn set_modal(
   command: List(String),
   modal: Bool,
) -> List(String)
pub fn set_ok_label(
   command: List(String),
   ok_label: String,
) -> List(String)
pub fn set_separator(
   command: List(String),
   separator: String,
) -> List(String)
pub fn set_show_header(
   command: List(String),
   show_header: Bool,
) -> List(String)
pub fn set_text(
   command: List(String),
   text: String,
) -> List(String)
pub fn set_timeout(
   command: List(String),
   timeout: String,
) -> List(String)
pub fn set_title(
   command: List(String),
   title: String,
) -> List(String)
pub fn set_width(
   command: List(String),
   width: String,
) -> List(String)
pub fn version(cmd: List(String)) -> List(String)
Search Document