MCPcopy Create free account

hub / github.com/ddbnl/ez_term / functions

Functions1,238 in github.com/ddbnl/ez_term

↓ 1 callersMethodcheck_sync_properties
(&self)
src/scheduler/scheduler.rs:1940
↓ 1 callersMethodcheck_sync_state_tree
(&self, state_tree: &mut StateTree)
src/scheduler/scheduler.rs:1925
↓ 1 callersFunctionclean_trees
Clean up orphaned states and callback configs in their respective trees. E.g. for when a modal closes.
src/run/tree.rs:740
↓ 1 callersMethodclear_changed
Clear the cache of changed positions.
src/run/tree.rs:669
↓ 1 callersMethodclear_global_keys
Remove all global key binds. For a tutorial on this see: [Managing callbacks](#scheduler_callbacks) # Parameters: This method takes no parameters.
src/scheduler/scheduler.rs:1800
↓ 1 callersFunctioncollect_ez_files
Find all files that end with '.ez' in a folder recursively.
build.rs:134
↓ 1 callersMethodcreate_horizontal_scroll_box
Create a horizontal scrollbox out of this layout if its contents width exceed its own width
src/widgets/layout/scrolling.rs:103
↓ 1 callersMethodcreate_horizontal_scrollbar
Create a scrolling bar for a horizontal scrollbox
src/widgets/layout/scrolling.rs:170
↓ 1 callersFunctioncreate_new_widgets
Check if there are any new widgets to create.
src/scheduler/scheduler_funcs.rs:114
↓ 1 callersMethodcreate_vertical_scroll_box
Create a vertical scrollbox out of this layout if its contents width exceed its own width
src/widgets/layout/scrolling.rs:136
↓ 1 callersMethodcreate_vertical_scrollbar
Create a scrolling bar for a vertical scrollbox
src/widgets/layout/scrolling.rs:198
↓ 1 callersFunctiondrain_property_channels
Drain channel values. Called occasionally to drain channels which have no subscribers.
src/scheduler/scheduler_funcs.rs:382
↓ 1 callersMethoddraw_table
Draw a list of child content in a table using the child_table as a model for the orientation.
src/widgets/layout/table_mode.rs:368
↓ 1 callersMethodget_active_blink_task
(&self)
src/states/text_input_state.rs:496
↓ 1 callersMethodget_border_bg_color
(&self)
src/states/definitions.rs:1760
↓ 1 callersMethodget_border_fg_color
(&self)
src/states/definitions.rs:1752
↓ 1 callersMethodget_bottom_left_symbol
(&self)
src/states/definitions.rs:1448
↓ 1 callersMethodget_bottom_right_symbol
(&self)
src/states/definitions.rs:1456
↓ 1 callersMethodget_box_mode_contents
Returns [get_box_mode_horizontal_orientation_contents] or [get_box_mode_vertical_orientation_contents] depending on orientation
src/widgets/layout/box_mode.rs:13
↓ 1 callersMethodget_box_mode_horizontal_orientation_contents
Used by [get_contents] when the [LayoutMode] is set to [Box] and [LayoutOrientation] is set to [Horizontal]. Merges contents of sub layouts and/or wid
src/widgets/layout/box_mode.rs:32
↓ 1 callersMethodget_box_mode_vertical_orientation_contents
Used by [get_contents] when the [LayoutMode] is set to [Box] and [LayoutOrientation] is set to [Vertical]. Merges contents of sub layouts and/or widge
src/widgets/layout/box_mode.rs:148
↓ 1 callersMethodget_changed
Get a Coordinate and the corresponding content for each screen position that has changred since the last frame.
src/run/tree.rs:660
↓ 1 callersMethodget_children_mut
Get a mutable list of children non-recursively. Can be [layout] or [EzWidget]
src/widgets/layout/children.rs:319
↓ 1 callersMethodget_clone
(&self, scheduler: &mut SchedulerFrontend)
src/widgets/label.rs:201
↓ 1 callersMethodget_col_widths
Calculate how wide each column should be. if force_default is true, use the default. Otherwise find the widest child.
src/widgets/layout/table_mode.rs:285
↓ 1 callersMethodget_contents
(&self, state_tree: &mut StateTree)
src/widgets/label.rs:108
↓ 1 callersMethodget_effective_size
Get the effective amount of width and height within this object, taking off e.g. borders, padding, etc.
src/states/ez_state.rs:403
↓ 1 callersFunctionget_ez_folder
()
build.rs:82
↓ 1 callersMethodget_flash_bg_color
(&self)
src/states/definitions.rs:1696
↓ 1 callersMethodget_flash_fg_color
(&self)
src/states/definitions.rs:1688
↓ 1 callersMethodget_flashing
(&self)
src/states/button_state.rs:467
↓ 1 callersMethodget_float_mode_contents
Used by [get_contents] when the [LayoutMode] is set to [Float]. Places each child in the XY coordinates defined by that child, relative to itself, and
src/widgets/layout/float_mode.rs:11
↓ 1 callersMethodget_force_default_col_width
(&self)
src/states/definitions.rs:179
↓ 1 callersMethodget_force_default_row_height
(&self)
src/states/definitions.rs:171
↓ 1 callersMethodget_generic_value
(&self)
src/property/ez_properties.rs:63
↓ 1 callersMethodget_horizontal_symbol
(&self)
src/states/definitions.rs:1416
↓ 1 callersMethodget_id
(&self)
src/widgets/label.rs:88
↓ 1 callersMethodget_left_right_bottom_top_content
( &self, state_tree: &mut StateTree, content_list: &[PixelMap], effective_size
src/widgets/layout/stack_mode.rs:279
↓ 1 callersMethodget_left_right_top_bottom_content
( &self, state_tree: &mut StateTree, content_list: &[PixelMap], effective_size
src/widgets/layout/stack_mode.rs:205
↓ 1 callersMethodget_max_scroll_start_x
(&self, effective_widget_width: usize)
src/states/definitions.rs:1306
↓ 1 callersMethodget_max_scroll_start_y
(&self, effective_widget_height: usize)
src/states/definitions.rs:1319
↓ 1 callersMethodget_modal_contents
Overwrite a PixelMap of current own content with the content of the active modal. Modals overlap all content.
src/widgets/layout/layout.rs:784
↓ 1 callersMethodget_normalized_value
Convenience func. Set the progress bar based on two numbers: progress and total. For example when tracking progress of copying files, pass the number
src/states/progress_bar_state.rs:469
↓ 1 callersMethodget_orientated_content
( &self, orientation: LayoutOrientation, state_tree: &mut StateTree, content_l
src/widgets/layout/stack_mode.rs:66
↓ 1 callersMethodget_pos_hint_x
(&self)
src/states/definitions.rs:426
↓ 1 callersMethodget_pos_hint_y
(&self)
src/states/definitions.rs:434
↓ 1 callersMethodget_property_mut
Get a mutable reference to a custom property created earlier. # Parameters: - Name of the custom property: &str # Example: We'll retrieve a custo
src/scheduler/scheduler.rs:1508
↓ 1 callersMethodget_right_left_bottom_top_content
( &self, state_tree: &mut StateTree, content_list: &[PixelMap], effective_size
src/widgets/layout/stack_mode.rs:411
↓ 1 callersMethodget_right_left_top_bottom_content
( &self, state_tree: &mut StateTree, content_list: &[PixelMap], effective_size
src/widgets/layout/stack_mode.rs:345
↓ 1 callersMethodget_row_heights
Calculate how high each row should be. if force_default is true, use the default. Otherwise find the highest child.
src/widgets/layout/table_mode.rs:241
↓ 1 callersMethodget_rows_and_cols
Calculate the amount of needed rows and columns based on the number of children
src/widgets/layout/table_mode.rs:92
↓ 1 callersMethodget_screen_mode_contents
(&self, state_tree: &mut StateTree)
src/widgets/layout/screen_mode.rs:7
↓ 1 callersMethodget_stack_mode_child_content
Get the content of each child
src/widgets/layout/stack_mode.rs:157
↓ 1 callersMethodget_stack_mode_contents
Used by [get_contents] when the [LayoutMode] is set to [Box] and [LayoutOrientation] is set to [Horizontal]. Merges contents of sub layouts and/or wid
src/widgets/layout/stack_mode.rs:14
↓ 1 callersMethodget_state
(&self)
src/widgets/button.rs:98
↓ 1 callersMethodget_state
(&self)
src/widgets/slider.rs:122
↓ 1 callersMethodget_state
(&self)
src/widgets/text_input.rs:108
↓ 1 callersMethodget_state
(&self)
src/widgets/progress_bar.rs:104
↓ 1 callersMethodget_state
(&self)
src/widgets/radio_button.rs:128
↓ 1 callersMethodget_state
(&self)
src/widgets/checkbox.rs:110
↓ 1 callersMethodget_state
(&self)
src/widgets/canvas.rs:100
↓ 1 callersMethodget_state
(&self)
src/widgets/layout/layout.rs:277
↓ 1 callersMethodget_state_mut
(&mut self)
src/widgets/button.rs:102
↓ 1 callersMethodget_state_mut
(&mut self)
src/widgets/canvas.rs:104
↓ 1 callersMethodget_tab_header_active_bg_color
(&self)
src/states/definitions.rs:1680
↓ 1 callersMethodget_tab_header_active_fg_color
(&self)
src/states/definitions.rs:1672
↓ 1 callersMethodget_tab_header_bg_color
(&self)
src/states/definitions.rs:1712
↓ 1 callersMethodget_tab_header_fg_color
(&self)
src/states/definitions.rs:1704
↓ 1 callersMethodget_tab_mode_contents
(&self, state_tree: &mut StateTree)
src/widgets/layout/tab_mode.rs:67
↓ 1 callersMethodget_table_mode_child_content
Get the content of each child, so we can draw it in a table after.
src/widgets/layout/table_mode.rs:322
↓ 1 callersMethodget_table_mode_contents
Used by [get_contents] when the [LayoutMode] is set to [Box] and [LayoutOrientation] is set to [Horizontal]. Merges contents of sub layouts and/or wid
src/widgets/layout/table_mode.rs:15
↓ 1 callersMethodget_table_model
Create a model of the order in which children should be added, by creating a table of child index. For example, a table layout with 9 children and ori
src/widgets/layout/table_mode.rs:119
↓ 1 callersMethodget_text_mut
(&mut self)
src/states/text_input_state.rs:468
↓ 1 callersMethodget_top_left_symbol
(&self)
src/states/definitions.rs:1432
↓ 1 callersMethodget_top_right_symbol
(&self)
src/states/definitions.rs:1440
↓ 1 callersMethodget_vertical_symbol
(&self)
src/states/definitions.rs:1424
↓ 1 callersFunctionhandle_backspace
Handle a backspace button press by user. Delete character to the left of the widget. Move the cursor and/or view as necessary.
src/widgets/text_input.rs:586
↓ 1 callersFunctionhandle_char
Handle a char button press by user. insert the char at the cursor and move the cursor and/or view where necessary.
src/widgets/text_input.rs:321
↓ 1 callersFunctionhandle_delete
Handle a delete button press by user. Delete character to the right of the widget. Move the view as necessary.
src/widgets/text_input.rs:527
↓ 1 callersMethodhandle_down
Called when this widget is already dropped down and down is pressed
src/widgets/dropdown.rs:521
↓ 1 callersFunctionhandle_drag_exit
( state_tree: &mut StateTree, callback_tree: &mut CallbackTree, scheduler: &mut SchedulerFrontend,
src/run/run.rs:343
↓ 1 callersMethodhandle_enter
Called when this widget is already dropped down and enter is pressed
src/widgets/dropdown.rs:479
↓ 1 callersFunctionhandle_global_event
Try to handle an event as a global keybind. Examples are up/down keys for navigating menu, left/right clicks, etc. If the event is bound globally, it
src/run/input.rs:58
↓ 1 callersMethodhandle_hover
Called when this widget is already dropped down and widget is hovered
src/widgets/dropdown.rs:564
↓ 1 callersFunctionhandle_key_event
Global key handler. If a key event matches one of these keys it will be consumed and not passed on any further.
src/run/input.rs:100
↓ 1 callersFunctionhandle_left
Handle a left arrow button press by user. Move cursor to the left or move the view if the cursor was at the edge of the widget.
src/widgets/text_input.rs:503
↓ 1 callersMethodhandle_left
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/slider.rs:350
↓ 1 callersMethodhandle_left_click
Called when this widget is already dropped down and widget is left clicked
src/widgets/dropdown.rs:530
↓ 1 callersFunctionhandle_modal_event
Try to handle an event by passing it to the active modal if any. The modal will return whether it consumed the event or not.
src/run/input.rs:24
↓ 1 callersFunctionhandle_mouse_drag_event
( event: MouseEvent, state_tree: &mut StateTree, root_widget: &Layout, callback_tree: &mut Cal
src/run/input.rs:321
↓ 1 callersFunctionhandle_mouse_event
Global mouse event handler. Any widget that collides with the mouse_pos of the event will be given a change to consume the event. This can be multiple
src/run/input.rs:160
↓ 1 callersFunctionhandle_mouse_hover_event
( event: MouseEvent, state_tree: &mut StateTree, root_widget: &Layout, callback_tree: &mut Cal
src/run/input.rs:265
↓ 1 callersFunctionhandle_mouse_press_event
( event: MouseEvent, button: MouseButton, state_tree: &mut StateTree, root_widget: &Layout,
src/run/input.rs:227
↓ 1 callersFunctionhandle_mouse_scroll_down_event
( event: MouseEvent, state_tree: &mut StateTree, root_widget: &Layout, callback_tree: &mut Cal
src/run/input.rs:401
↓ 1 callersFunctionhandle_mouse_scroll_up_event
( event: MouseEvent, state_tree: &mut StateTree, root_widget: &Layout, callback_tree: &mut Cal
src/run/input.rs:382
↓ 1 callersFunctionhandle_next_selection
( scheduler: &mut SchedulerFrontend, custom_data: &mut CustomDataMap, state_tree: &mut StateTree,
src/scheduler/scheduler_funcs.rs:407
↓ 1 callersMethodhandle_on_press
(&self, state_tree: &mut StateTree, scheduler: &mut SchedulerFrontend)
src/widgets/button.rs:254
↓ 1 callersMethodhandle_press
Function that handles this RadioButton being pressed (mouse clicked/keyboard entered).
src/widgets/radio_button.rs:241
↓ 1 callersFunctionhandle_resize
Handle a resize event by setting the size of the root widget to the new window size, updating the sizes/positions of all children and generating a new
src/run/input.rs:422
↓ 1 callersFunctionhandle_right
Handle a right arrow button press by user. Move cursor to the right or move the view if the cursor was at the edge of the widget.
src/widgets/text_input.rs:473
← previousnext →401–500 of 1,238, ranked by callers