MCPcopy Create free account

hub / github.com/ddbnl/ez_term / functions

Functions1,238 in github.com/ddbnl/ez_term

↓ 2 callersMethodget_tab_name
(&self)
src/states/layout_state.rs:759
↓ 2 callersMethodget_valign
(&self)
src/states/label_state.rs:364
↓ 2 callersMethodget_width
(&self)
src/states/ez_state.rs:393
↓ 2 callersMethodinitialize
Initialize the view tree with empty pixel based on a passed with and height.
src/run/tree.rs:706
↓ 2 callersFunctioninitialize_terminal
Prepare state of the terminal for drawing the UI.
src/run/terminal.rs:22
↓ 2 callersFunctionis_in_view
Determine whether a widget (by path) is in view. We start with the root widget and make our way down to the widget in question. We check whether the a
src/run/select.rs:239
↓ 2 callersMethodis_selectable
(&self)
src/states/button_state.rs:320
↓ 2 callersMethodis_syncing
(&self)
src/scheduler/scheduler.rs:1921
↓ 2 callersFunctionload_f64_property
Load a f64 [EzProperty]. It is either bound to another f64 property and initialized with 0.0 or parsed from the user defined string from the .ez file.
src/parser/load_base_properties.rs:190
↓ 2 callersFunctionload_horizontal_pos_hint_property
Load a horizontal position hint [EzProperty]. It is either bound to another hposhint property and initialized with None or parsed from the user define
src/parser/load_base_properties.rs:361
↓ 2 callersFunctionload_vertical_pos_hint_property
Load a vertical position hint [EzProperty]. It is either bound to another vposhint property and initialized with None or parsed from the user defined
src/parser/load_base_properties.rs:380
↓ 2 callersMethodmerge_horizontal_contents
Take a [PixelMap] and merge it horizontally with another [PixelMap]
src/widgets/layout/box_mode.rs:280
↓ 2 callersMethodmerge_vertical_contents
Take a [PixelMap] and merge it vertically with another [PixelMap]
src/widgets/layout/box_mode.rs:311
↓ 2 callersMethodnew_horizontal_pos_hint_property
Create a custom property. You can bind this property to widget properties of the same type; then when you update the custom property, the widget will
src/scheduler/scheduler.rs:1341
↓ 2 callersMethodnew_layout_mode_property
Create a custom property. You can bind this property to widget properties of the same type; then when you update the custom property, the widget will
src/scheduler/scheduler.rs:1157
↓ 2 callersMethodnew_layout_orientation_property
Create a custom property. You can bind this property to widget properties of the same type; then when you update the custom property, the widget will
src/scheduler/scheduler.rs:1201
↓ 2 callersMethodnew_vertical_pos_hint_property
Create a custom property. You can bind this property to widget properties of the same type; then when you update the custom property, the widget will
src/scheduler/scheduler.rs:1389
↓ 2 callersFunctionoffset_scrolled_absolute_position
Adjust an absolute position based on scrolling config and size of the parent layout.
src/widgets/helper_functions.rs:380
↓ 2 callersMethodon_deselect_callback
Call the bound callback if there is any. This method can always be called safely. Used to prevent a lot of duplicate ```if let Some(i)``` code.
src/widgets/ez_object.rs:859
↓ 2 callersMethodon_drag
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/slider.rs:267
↓ 2 callersMethodon_keyboard_enter_callback
Call the bound callback if there is any. This method can always be called safely. Used to prevent a lot of duplicate ```if let Some(i)``` code.
src/widgets/ez_object.rs:452
↓ 2 callersMethodon_press
Called on an object when it is selected and the user presses enter on the keyboard or when an object is left clicked. Default implementation only call
src/widgets/ez_object.rs:514
↓ 2 callersMethodon_scroll_down_callback
Call the bound callback if there is any. This method can always be called safely. Used to prevent a lot of duplicate ```if let Some(i)``` code.
src/widgets/ez_object.rs:770
↓ 2 callersMethodon_scroll_up_callback
Call the bound callback if there is any. This method can always be called safely. Used to prevent a lot of duplicate ```if let Some(i)``` code.
src/widgets/ez_object.rs:742
↓ 2 callersFunctionparse_level
Parse a single indentation level of a config file. Returns a Vec of config lines, a Vec of [EzWidgetDefinition] of widgets found on that level, and a
src/parser/parse_lang.rs:88
↓ 2 callersFunctionpeek_id_from_config
Check if a widget definition config contains an ID. If so, return an ID and path from it.
src/parser/ez_definition.rs:278
↓ 2 callersMethodredraw
Redraw the widget on the screen. Using the view tree, only changed content is written to improve performance.
src/widgets/ez_object.rs:380
↓ 2 callersMethodremove_child
Remove a widget. Never remove a child directly but call this instead. It keeps the child lookup table cache up to date.
src/widgets/layout/children.rs:300
↓ 2 callersMethodremove_widget
Remove a widget from a layout. Removing a layout will also remove all children of that layout. You cannot remove the root layout. You cannot remove a
src/scheduler/scheduler.rs:879
↓ 2 callersFunctionreposition_with_pos_hint
Set the positions of an object that uses pos_hint(s) using its parents proportions and position.
src/widgets/helper_functions.rs:27
↓ 2 callersFunctionresize_with_size_hint
Resize an object according to its' size hint values.
src/widgets/helper_functions.rs:11
↓ 2 callersMethodresolve_tab_name
(&self, name: &str, state_tree: &mut StateTree)
src/widgets/layout/tab_mode.rs:52
↓ 2 callersMethodscale_to_largest_child
(&self, content_list: &[PixelMap], state_tree: &mut StateTree)
src/widgets/layout/children.rs:444
↓ 2 callersMethodset_active_blink_task
(&mut self, active: bool)
src/states/text_input_state.rs:492
↓ 2 callersMethodset_bg_color
(&mut self, color: Color)
src/states/definitions.rs:1628
↓ 2 callersMethodset_cursor_pos
(&mut self, cursor_pos: Coordinates)
src/states/text_input_state.rs:476
↓ 2 callersMethodset_flashing
(&mut self, flashing: bool)
src/states/button_state.rs:463
↓ 2 callersMethodset_is_scrolling_x
(&mut self, x: bool)
src/states/definitions.rs:1290
↓ 2 callersMethodset_is_scrolling_y
(&mut self, y: bool)
src/states/definitions.rs:1298
↓ 2 callersMethodset_path
(&mut self, id: &str)
src/widgets/layout/layout.rs:269
↓ 2 callersFunctionshutdown_terminal
Set terminal to original state.
src/run/terminal.rs:31
↓ 2 callersFunctionstart_cursor_blink
Start blink the position on which the cursor is currently located. This is a custom cursor not the actual terminal cursor. This is because in dynamic
src/widgets/text_input.rs:408
↓ 2 callersMethodtry_get
(&self, node: &str)
src/run/tree.rs:215
↓ 2 callersMethodtry_get_mut
(&mut self, id: &str)
src/run/tree.rs:274
↓ 2 callersMethodvalue_from_mouse_pos
( &self, state: &mut SliderState, mut mouse_pos: IsizeCoordinates, )
src/widgets/slider.rs:326
↓ 2 callersFunctionwrap_text
Make list of lines, splitting into lines at line breaks in the text or when the widget width has been exceeded. If the latter occurs, we will try to s
src/widgets/helper_functions.rs:287
↓ 1 callersMethod_add_node
(&mut self, mut steps: Vec<&str>, node: T)
src/run/tree.rs:101
↓ 1 callersMethod_check_method_channels
(&mut self, state_tree: &mut StateTree)
src/scheduler/scheduler.rs:2002
↓ 1 callersMethod_extend
(&mut self, mut steps: Vec<&str>, tree: Tree<T>)
src/run/tree.rs:68
↓ 1 callersMethod_get_by_id_recursive
(&self, steps: Vec<String>)
src/run/tree.rs:395
↓ 1 callersMethod_get_by_id_recursive_mut
(&mut self, steps: Vec<String>)
src/run/tree.rs:424
↓ 1 callersMethod_get_recursive
(&self, mut steps: Peekable<Split<char>>)
src/run/tree.rs:319
↓ 1 callersMethod_get_recursive_mut
(&mut self, mut steps: Peekable<Split<char>>)
src/run/tree.rs:347
↓ 1 callersMethod_get_widgets_recursive
(&'a self, results: &mut Vec<&'a EzObjects>)
src/widgets/layout/children.rs:435
↓ 1 callersMethod_remove_node
(&mut self, mut steps: Vec<&str>)
src/run/tree.rs:149
↓ 1 callersMethod_stop_sync_to_thread
Method to stop a synced scheduler. No need to use this as an end-user; schedule_threaded will do the work for you.
src/scheduler/scheduler.rs:2205
↓ 1 callersMethod_sync_to_thread
Method to set up a synced scheduler to use in a thread. No need to use this as an end-user; schedule_threaded will do the work for you.
src/scheduler/scheduler.rs:2211
↓ 1 callersFunctionadd_custom_data
Take new custom data and add it to the existing custom data map
src/scheduler/scheduler_funcs.rs:358
↓ 1 callersMethodadd_empty_filler
Fill any empty positions with empty [Pixel]. Used to fill full size of the layout in case the user did not define a custom filler.
src/widgets/layout/layout.rs:874
↓ 1 callersFunctionadd_property_callbacks
Take new property callbacks and add them to the existing callback config in the callback tree
src/scheduler/scheduler_funcs.rs:371
↓ 1 callersMethodadd_user_filler
Fill any empty positions with [Pixel] from [get_filler]
src/widgets/layout/layout.rs:838
↓ 1 callersMethodas_bool
(&self)
src/property/ez_values.rs:82
↓ 1 callersMethodas_button
Cast this state as a Button widget state ref, you must be sure you have one.
src/states/ez_state.rs:155
↓ 1 callersMethodas_canvas
Cast this state as a Canvas widget state ref, you must be sure you have one.
src/states/ez_state.rs:119
↓ 1 callersMethodas_canvas_mut
Cast this as a mutable Canvas widget ref, you must be sure you have one.
src/widgets/ez_object.rs:136
↓ 1 callersMethodas_checkbox
Cast this state as a Checkbox widget state ref, you must be sure you have one.
src/states/ez_state.rs:209
↓ 1 callersMethodas_checkbox
Cast this as a Checkbox widget ref, you must be sure you have one.
src/widgets/ez_object.rs:217
↓ 1 callersMethodas_checkbox
Cast this state as a Checkbox widget state ref, you must be sure you have one.
src/run/tree.rs:559
↓ 1 callersMethodas_color
(&self)
src/property/ez_values.rs:90
↓ 1 callersMethodas_dropdown
Cast this state as a Dropdown widget state ref, you must be sure you have one.
src/states/ez_state.rs:227
↓ 1 callersMethodas_dropdown
Cast this state as a Dropdown widget ref, you must be sure you have one.
src/widgets/ez_object.rs:235
↓ 1 callersMethodas_dropdown
Cast this state as a Dropdown widget state ref, you must be sure you have one.
src/run/tree.rs:577
↓ 1 callersMethodas_dropdown_mut
Cast this state as a mutable Dropdown widget state ref, you must be sure you have one.
src/run/tree.rs:586
↓ 1 callersMethodas_f64
(&self)
src/property/ez_values.rs:44
↓ 1 callersMethodas_horizontal_alignment
(&self)
src/property/ez_values.rs:122
↓ 1 callersMethodas_horizontal_pos_hint
(&self)
src/property/ez_values.rs:138
↓ 1 callersMethodas_label
Cast this state as a Label widget state ref, you must be sure you have one.
src/states/ez_state.rs:137
↓ 1 callersMethodas_label_mut
Cast this state as a mutable Label widget ref, you must be sure you have one.
src/widgets/ez_object.rs:154
↓ 1 callersMethodas_layout_mode
(&self)
src/property/ez_values.rs:98
↓ 1 callersMethodas_layout_orientation
(&self)
src/property/ez_values.rs:106
↓ 1 callersMethodas_progress_bar
Cast this state as a Progress bar widget state ref, you must be sure you have one.
src/states/ez_state.rs:191
↓ 1 callersMethodas_progress_bar
Cast this state as a Progress bar widget state ref, you must be sure you have one.
src/run/tree.rs:541
↓ 1 callersMethodas_progress_bar_mut
Cast this state as a mutable Progress bar widget ref, you must be sure you have one.
src/widgets/ez_object.rs:208
↓ 1 callersMethodas_radio_button
Cast this state as a RadioButton widget state ref, you must be sure you have one.
src/states/ez_state.rs:263
↓ 1 callersMethodas_size_hint
(&self)
src/property/ez_values.rs:146
↓ 1 callersMethodas_slider
Cast this state as a Slider widget state ref, you must be sure you have one.
src/states/ez_state.rs:173
↓ 1 callersMethodas_slider
Cast this state as a Slider widget state ref, you must be sure you have one.
src/run/tree.rs:523
↓ 1 callersMethodas_slider_mut
Cast this state as a mutable Slider widget state ref, you must be sure you have one.
src/run/tree.rs:532
↓ 1 callersMethodas_string
(&self)
src/property/ez_values.rs:52
↓ 1 callersMethodas_text_input
Cast this state as a TextInput widget state ref, you must be sure you have one.
src/states/ez_state.rs:281
↓ 1 callersMethodas_usize_mut
Get a mutable ref [EzProperty<usize>] from this enum. You must be sure this is a usize property or it will panic.
src/property/ez_properties.rs:105
↓ 1 callersMethodas_vertical_alignment
(&self)
src/property/ez_values.rs:114
↓ 1 callersMethodas_vertical_pos_hint
(&self)
src/property/ez_values.rs:130
↓ 1 callersMethodauto_scale_to_content
Scale size down to the size of the actual content of the layout.
src/widgets/layout/layout.rs:765
↓ 1 callersMethodbottom_top_left_right_content
( &self, state_tree: &mut StateTree, content_list: &[PixelMap], effective_size
src/widgets/layout/stack_mode.rs:610
↓ 1 callersMethodbottom_top_right_left_content
( &self, state_tree: &mut StateTree, content_list: &[PixelMap], effective_size
src/widgets/layout/stack_mode.rs:675
↓ 1 callersMethodcancel_recurring_task
Cancel a recurring task. This function is always safe to call, if there's no task to cancel it will not panic. An alternative way to cancel a recurrin
src/scheduler/scheduler.rs:402
↓ 1 callersMethodcancel_task
Cancel a run-once task. This of course only works if called before the task was executed (possible if it had a delay). This function is always safe to
src/scheduler/scheduler.rs:285
↓ 1 callersMethodcheck_default_size_hints
Check if all chrildren employ default size_hints (i.e. size_hint=1) for x and y separately.
src/widgets/layout/children.rs:106
↓ 1 callersFunctioncheck_finished_threads
Check if any threads have finished running. Joined them if so and remove all references.
src/scheduler/scheduler_funcs.rs:41
← previousnext →301–400 of 1,238, ranked by callers