Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddbnl/ez_term
/ functions
Functions
1,238 in github.com/ddbnl/ez_term
⨍
Functions
1,238
◇
Types & classes
60
Function
main
()
examples/dropdown.rs:3
Function
main
()
examples/scheduler_schedule_once_from_callback.rs:4
Function
main
()
examples/scheduler_schedule_threaded_custom_property.rs:4
Function
main
()
examples/radio_button.rs:3
Function
main
()
examples/checkbox.rs:3
Function
main
()
examples/canvas.rs:3
Function
mock_app
(mut context: ThreadedContext)
examples/scheduler_schedule_threaded_state_tree.rs:7
Function
mock_app
(mut context: ThreadedContext)
examples/scheduler_schedule_threaded_custom_property.rs:10
Method
new
()
src/scheduler/scheduler.rs:2594
Method
new
( widget_path: String, state_tree: &'a mut StateTree, scheduler: &'b mut SchedulerFron
src/scheduler/definitions.rs:94
Method
new
Create a definition from a type name (Layout, Checkbox, etc.), an indentation offset and a line offset. The offsets are needed to provide useful error
src/parser/ez_definition.rs:61
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/progress_bar_state.rs:70
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/text_input_state.rs:84
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/dropdown_state.rs:74
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/label_state.rs:67
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/radio_button_state.rs:77
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/button_state.rs:70
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/canvas_state.rs:67
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/layout_state.rs:118
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/slider_state.rs:76
Method
new
(path: String, scheduler: &mut SchedulerFrontend)
src/states/checkbox_state.rs:73
Method
new
(name: String, scheduler: &mut SchedulerFrontend)
src/states/definitions.rs:111
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/button.rs:30
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/label.rs:28
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/slider.rs:33
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/text_input.rs:34
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/progress_bar.rs:26
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/dropdown.rs:37
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/radio_button.rs:31
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/checkbox.rs:28
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/canvas.rs:32
Method
new
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/layout/layout.rs:44
Method
new
Create a new EzProperty. If this property belongs to a widget state the name must be a path to the widget state, followed by the property name.
src/property/ez_property.rs:49
Method
new
(name: String, node: T)
src/run/tree.rs:41
Method
new
(x: usize, y: usize)
src/run/definitions.rs:20
Method
new_data
( &mut self, name: &str, data: Box<dyn CustomData + Send>, )
src/scheduler/scheduler.rs:1451
Method
on_deselect
Called on an object when it is deselected. This default implementation only calls the appropriate callback. Objects can overwrite this function but mu
src/widgets/ez_object.rs:847
Method
on_drag
Called on an object when it is left mouse dragged. This default implementation only calls the appropriate callback. Objects can overwrite this functio
src/widgets/ez_object.rs:643
Method
on_drag
Implement clicking on the scrollbar and dragging it down or up.
src/widgets/layout/layout.rs:472
Method
on_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/slider.rs:251
Method
on_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/text_input.rs:251
Method
on_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/dropdown.rs:267
Method
on_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/radio_button.rs:200
Method
on_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/checkbox.rs:183
Method
on_hover
Called on an object when it is mouse hovered. This default implementation only calls the appropriate callback. Objects can overwrite this function but
src/widgets/ez_object.rs:580
Method
on_keyboard_enter
Called on an object when it is selected and the user presses enter on the keyboard. This default implementation only calls the appropriate callback. O
src/widgets/ez_object.rs:436
Method
on_left_mouse_click
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/text_input.rs:233
Method
on_left_mouse_click
Called on an object when it is left clicked. This default implementation only calls the appropriate callback. Objects can overwrite this function but
src/widgets/ez_object.rs:472
Method
on_left_mouse_click
Implement clicking under are above the scrollbar to move it down or up respectively.
src/widgets/layout/layout.rs:410
Method
on_press
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/button.rs:199
Method
on_press
Called when the widgets is not dropped down and enter/left mouse click occurs on it.
src/widgets/dropdown.rs:187
Method
on_press
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/radio_button.rs:185
Method
on_press
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/checkbox.rs:168
Method
on_scroll_down
Called on an object when it is mouse scrolled down. This default implementation only calls the appropriate callback. Objects can overwrite this functi
src/widgets/ez_object.rs:758
Method
on_scroll_up
Called on an object when it is mouse scrolled up. This default implementation only calls the appropriate callback. Objects can overwrite this function
src/widgets/ez_object.rs:730
Method
on_select
Called on an object when it is selected. This default implementation only calls the appropriate callback. Objects can overwrite this function but must
src/widgets/ez_object.rs:814
Method
on_select
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/layout/layout.rs:598
Method
on_value_change
Called on an object when its' value changes. This default implementation only calls the appropriate callback. Objects can overwrite this function but
src/widgets/ez_object.rs:786
Method
overlaps
Returns a bool representing whether two widgets overlap at any point.
src/states/ez_state.rs:611
Method
partial_cmp
(&self, other: &usize)
src/property/ez_property.rs:178
Function
progress_bar_button
As an example we will change a label after a button is pressed.
examples/full_example.rs:430
Function
progress_example_app
(mut context: ThreadedContext)
examples/full_example.rs:457
Method
propagate_paths
Takes full [path] of this layout and adds the [id] of children to create and set their [path]. Then calls this method on children, thus recursively se
src/widgets/layout/children.rs:207
Method
resolve_base_type
Based on a template, find the base widget type. Templates can be based on templates so the base type might be a few levels deep.
src/parser/ez_definition.rs:79
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/progress_bar_state.rs:347
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/text_input_state.rs:370
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/dropdown_state.rs:262
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/radio_button_state.rs:368
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/button_state.rs:272
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/canvas_state.rs:344
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/layout_state.rs:479
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/slider_state.rs:361
Method
set_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/checkbox_state.rs:356
Method
set_active
(&mut self, active: bool)
src/states/radio_button_state.rs:475
Method
set_active_symbol
(&mut self, symbol: &str)
src/states/radio_button_state.rs:483
Method
set_active_symbol
(&mut self, symbol: &str)
src/states/checkbox_state.rs:459
Method
set_allow_none
(&mut self, allow_none: bool)
src/states/dropdown_state.rs:465
Method
set_auto_scale_height
Set height autoscaling bool. If the widget supports it and turned on, automatically adjusts height to the actual height of its' content
src/states/ez_state.rs:371
Method
set_auto_scale_width
Set width autoscaling bool. If the widget supports it and turned on, automatically adjusts width to the actual width of its' content
src/states/ez_state.rs:365
Method
set_border
(&mut self, enabled: bool)
src/states/definitions.rs:1404
Method
set_border_bg_color
(&mut self, color: Color)
src/states/definitions.rs:1756
Method
set_border_fg_color
(&mut self, color: Color)
src/states/definitions.rs:1748
Method
set_bottom_left_symbol
(&mut self, symbol: &str)
src/states/definitions.rs:1444
Method
set_bottom_right_symbol
(&mut self, symbol: &str)
src/states/definitions.rs:1452
Method
set_can_drag
(&mut self, can_drag: bool)
src/states/layout_state.rs:878
Method
set_col_default_width
(&mut self, default: usize)
src/states/definitions.rs:159
Method
set_cols
(&mut self, columns: usize)
src/states/definitions.rs:143
Method
set_contents
Set the content for a widget manually. This is not implemented for most widgets, as they get their content from their state. E.g. a label gets content
src/widgets/ez_object.rs:389
Method
set_cursor_color
(&mut self, color: Color)
src/states/definitions.rs:1768
Method
set_cursor_y
(&mut self, pos: usize)
src/states/text_input_state.rs:484
Method
set_disabled
(&mut self, disabled: bool)
src/states/progress_bar_state.rs:399
Method
set_disabled
(&mut self, disabled: bool)
src/states/text_input_state.rs:422
Method
set_disabled
(&mut self, disabled: bool)
src/states/dropdown_state.rs:314
Method
set_disabled
(&mut self, disabled: bool)
src/states/radio_button_state.rs:420
Method
set_disabled
Set the disabled field of a widget. Only implemented by interactive widgets (i.e. widgets that are selectable).
src/states/ez_state.rs:646
Method
set_disabled
(&mut self, disabled: bool)
src/states/button_state.rs:324
Method
set_disabled
(&mut self, disabled: bool)
src/states/canvas_state.rs:392
Method
set_disabled
(&mut self, disabled: bool)
src/states/layout_state.rs:533
Method
set_disabled
(&mut self, disabled: bool)
src/states/slider_state.rs:413
Method
set_disabled
(&mut self, disabled: bool)
src/states/checkbox_state.rs:408
← previous
next →
1,001–1,100 of 1,238, ranked by callers