? Basic usage
newt_bell ?
PHP Manual
Newt
Newt 函数
Newt 函数
Table of Contents
newt_bell
— Send a beep to the terminal
newt_button_bar
— This function returns a grid containing the buttons created.
newt_button
— Create a new button
newt_centered_window
— Open a centered window of the specified size
newt_checkbox_get_value
— Retreives value of checkox resource
newt_checkbox_set_flags
— Configures checkbox resource
newt_checkbox_set_value
— Sets the value of the checkbox
newt_checkbox_tree_add_item
— Adds new item to the checkbox tree
newt_checkbox_tree_find_item
— Finds an item in the checkbox tree
newt_checkbox_tree_get_current
— Returns checkbox tree selected item
newt_checkbox_tree_get_entry_value
— 说明
newt_checkbox_tree_get_multi_selection
— 说明
newt_checkbox_tree_get_selection
— 说明
newt_checkbox_tree_multi
— 说明
newt_checkbox_tree_set_current
— 说明
newt_checkbox_tree_set_entry_value
— 说明
newt_checkbox_tree_set_entry
— 说明
newt_checkbox_tree_set_width
— 说明
newt_checkbox_tree
— 说明
newt_checkbox
— 说明
newt_clear_key_buffer
— Discards the contents of the terminal's input buffer without waiting for additional input
newt_cls
— 说明
newt_compact_button
— 说明
newt_component_add_callback
— 说明
newt_component_takes_focus
— 说明
newt_create_grid
— 说明
newt_cursor_off
— 说明
newt_cursor_on
— 说明
newt_delay
— 说明
newt_draw_form
— 说明
newt_draw_root_text
— Displays the string text at the position indicated
newt_entry_get_value
— 说明
newt_entry_set_filter
— 说明
newt_entry_set_flags
— 说明
newt_entry_set
— 说明
newt_entry
— 说明
newt_finished
— Uninitializes newt interface
newt_form_add_component
— Adds a single component to the form
newt_form_add_components
— Add several components to the form
newt_form_add_hot_key
— 说明
newt_form_destroy
— Destroys a form
newt_form_get_current
— 说明
newt_form_run
— Runs a form
newt_form_set_background
— 说明
newt_form_set_height
— 说明
newt_form_set_size
— 说明
newt_form_set_timer
— 说明
newt_form_set_width
— 说明
newt_form_watch_fd
— 说明
newt_form
— Create a form
newt_get_screen_size
— Fills in the passed references with the current size of the terminal
newt_grid_add_components_to_form
— 说明
newt_grid_basic_window
— 说明
newt_grid_free
— 说明
newt_grid_get_size
— 说明
newt_grid_h_close_stacked
— 说明
newt_grid_h_stacked
— 说明
newt_grid_place
— 说明
newt_grid_set_field
— 说明
newt_grid_simple_window
— 说明
newt_grid_v_close_stacked
— 说明
newt_grid_v_stacked
— 说明
newt_grid_wrapped_window_at
— 说明
newt_grid_wrapped_window
— 说明
newt_init
— Initialize newt
newt_label_set_text
— 说明
newt_label
— 说明
newt_listbox_append_entry
— 说明
newt_listbox_clear_selection
— 说明
newt_listbox_clear
— 说明
newt_listbox_delete_entry
— 说明
newt_listbox_get_current
— 说明
newt_listbox_get_selection
— 说明
newt_listbox_insert_entry
— 说明
newt_listbox_item_count
— 说明
newt_listbox_select_item
— 说明
newt_listbox_set_current_by_key
— 说明
newt_listbox_set_current
— 说明
newt_listbox_set_data
— 说明
newt_listbox_set_entry
— 说明
newt_listbox_set_width
— 说明
newt_listbox
— 说明
newt_listitem_get_data
— 说明
newt_listitem_set
— 说明
newt_listitem
— 说明
newt_open_window
— Open a window of the specified size and position
newt_pop_help_line
— Replaces the current help line with the one from the stack
newt_pop_window
— Removes the top window from the display
newt_push_help_line
— Saves the current help line on a stack, and displays the new line
newt_radio_get_current
— 说明
newt_radiobutton
— 说明
newt_redraw_help_line
— 说明
newt_reflow_text
— 说明
newt_refresh
— Updates modified portions of the screen
newt_resize_screen
— 说明
newt_resume
— Resume using the newt interface after calling newt_suspend
newt_run_form
— Runs a form
newt_scale_set
— 说明
newt_scale
— 说明
newt_scrollbar_set
— 说明
newt_set_help_callback
— 说明
newt_set_suspend_callback
— Set a callback function which gets invoked when user presses the suspend key
newt_suspend
— Tells newt to return the terminal to its initial state
newt_textbox_get_num_lines
— 说明
newt_textbox_reflowed
— 说明
newt_textbox_set_height
— 说明
newt_textbox_set_text
— 说明
newt_textbox
— 说明
newt_vertical_scrollbar
— 说明
newt_wait_for_key
— Doesn't return until a key has been pressed
newt_win_choice
— 说明
newt_win_entries
— 说明
newt_win_menu
— 说明
newt_win_message
— 说明
newt_win_messagev
— 说明
newt_win_ternary
— 说明
User Contributed Notes
There are no user contributed notes for this page.