MCPcopy Create free account

hub / github.com/ddbnl/ez_term / functions

Functions1,238 in github.com/ddbnl/ez_term

Functionmain
()
examples/dropdown.rs:3
Functionmain
()
examples/scheduler_schedule_once_from_callback.rs:4
Functionmain
()
examples/scheduler_schedule_threaded_custom_property.rs:4
Functionmain
()
examples/radio_button.rs:3
Functionmain
()
examples/checkbox.rs:3
Functionmain
()
examples/canvas.rs:3
Functionmock_app
(mut context: ThreadedContext)
examples/scheduler_schedule_threaded_state_tree.rs:7
Functionmock_app
(mut context: ThreadedContext)
examples/scheduler_schedule_threaded_custom_property.rs:10
Methodnew
()
src/scheduler/scheduler.rs:2594
Methodnew
( widget_path: String, state_tree: &'a mut StateTree, scheduler: &'b mut SchedulerFron
src/scheduler/definitions.rs:94
Methodnew
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
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/progress_bar_state.rs:70
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/text_input_state.rs:84
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/dropdown_state.rs:74
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/label_state.rs:67
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/radio_button_state.rs:77
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/button_state.rs:70
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/canvas_state.rs:67
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/layout_state.rs:118
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/slider_state.rs:76
Methodnew
(path: String, scheduler: &mut SchedulerFrontend)
src/states/checkbox_state.rs:73
Methodnew
(name: String, scheduler: &mut SchedulerFrontend)
src/states/definitions.rs:111
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/button.rs:30
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/label.rs:28
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/slider.rs:33
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/text_input.rs:34
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/progress_bar.rs:26
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/dropdown.rs:37
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/radio_button.rs:31
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/checkbox.rs:28
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/canvas.rs:32
Methodnew
(id: String, path: String, scheduler: &mut SchedulerFrontend)
src/widgets/layout/layout.rs:44
Methodnew
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
Methodnew
(name: String, node: T)
src/run/tree.rs:41
Methodnew
(x: usize, y: usize)
src/run/definitions.rs:20
Methodnew_data
( &mut self, name: &str, data: Box<dyn CustomData + Send>, )
src/scheduler/scheduler.rs:1451
Methodon_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
Methodon_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
Methodon_drag
Implement clicking on the scrollbar and dragging it down or up.
src/widgets/layout/layout.rs:472
Methodon_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/slider.rs:251
Methodon_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/text_input.rs:251
Methodon_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/dropdown.rs:267
Methodon_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/radio_button.rs:200
Methodon_hover
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/checkbox.rs:183
Methodon_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
Methodon_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
Methodon_left_mouse_click
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/text_input.rs:233
Methodon_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
Methodon_left_mouse_click
Implement clicking under are above the scrollbar to move it down or up respectively.
src/widgets/layout/layout.rs:410
Methodon_press
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/button.rs:199
Methodon_press
Called when the widgets is not dropped down and enter/left mouse click occurs on it.
src/widgets/dropdown.rs:187
Methodon_press
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/radio_button.rs:185
Methodon_press
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/checkbox.rs:168
Methodon_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
Methodon_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
Methodon_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
Methodon_select
( &self, state_tree: &mut StateTree, callback_tree: &mut CallbackTree, schedul
src/widgets/layout/layout.rs:598
Methodon_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
Methodoverlaps
Returns a bool representing whether two widgets overlap at any point.
src/states/ez_state.rs:611
Methodpartial_cmp
(&self, other: &usize)
src/property/ez_property.rs:178
Functionprogress_bar_button
As an example we will change a label after a button is pressed.
examples/full_example.rs:430
Functionprogress_example_app
(mut context: ThreadedContext)
examples/full_example.rs:457
Methodpropagate_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
Methodresolve_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
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/progress_bar_state.rs:347
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/text_input_state.rs:370
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/dropdown_state.rs:262
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/radio_button_state.rs:368
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/button_state.rs:272
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/canvas_state.rs:344
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/layout_state.rs:479
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/slider_state.rs:361
Methodset_absolute_position
(&mut self, pos: IsizeCoordinates)
src/states/checkbox_state.rs:356
Methodset_active
(&mut self, active: bool)
src/states/radio_button_state.rs:475
Methodset_active_symbol
(&mut self, symbol: &str)
src/states/radio_button_state.rs:483
Methodset_active_symbol
(&mut self, symbol: &str)
src/states/checkbox_state.rs:459
Methodset_allow_none
(&mut self, allow_none: bool)
src/states/dropdown_state.rs:465
Methodset_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
Methodset_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
Methodset_border
(&mut self, enabled: bool)
src/states/definitions.rs:1404
Methodset_border_bg_color
(&mut self, color: Color)
src/states/definitions.rs:1756
Methodset_border_fg_color
(&mut self, color: Color)
src/states/definitions.rs:1748
Methodset_bottom_left_symbol
(&mut self, symbol: &str)
src/states/definitions.rs:1444
Methodset_bottom_right_symbol
(&mut self, symbol: &str)
src/states/definitions.rs:1452
Methodset_can_drag
(&mut self, can_drag: bool)
src/states/layout_state.rs:878
Methodset_col_default_width
(&mut self, default: usize)
src/states/definitions.rs:159
Methodset_cols
(&mut self, columns: usize)
src/states/definitions.rs:143
Methodset_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
Methodset_cursor_color
(&mut self, color: Color)
src/states/definitions.rs:1768
Methodset_cursor_y
(&mut self, pos: usize)
src/states/text_input_state.rs:484
Methodset_disabled
(&mut self, disabled: bool)
src/states/progress_bar_state.rs:399
Methodset_disabled
(&mut self, disabled: bool)
src/states/text_input_state.rs:422
Methodset_disabled
(&mut self, disabled: bool)
src/states/dropdown_state.rs:314
Methodset_disabled
(&mut self, disabled: bool)
src/states/radio_button_state.rs:420
Methodset_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
Methodset_disabled
(&mut self, disabled: bool)
src/states/button_state.rs:324
Methodset_disabled
(&mut self, disabled: bool)
src/states/canvas_state.rs:392
Methodset_disabled
(&mut self, disabled: bool)
src/states/layout_state.rs:533
Methodset_disabled
(&mut self, disabled: bool)
src/states/slider_state.rs:413
Methodset_disabled
(&mut self, disabled: bool)
src/states/checkbox_state.rs:408
← previousnext →1,001–1,100 of 1,238, ranked by callers