Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kethku/Pando
/ functions
Functions
323 in github.com/Kethku/Pando
⨍
Functions
323
◇
Types & classes
56
↓ 40 callers
Method
set_selection
Update the selection
aspen/src/components/editor.rs:84
↓ 33 callers
Method
map
(self, map: impl FnOnce(E) -> R)
aspen/src/element.rs:53
↓ 27 callers
Function
hex_to_srgba
(hex: &str)
src/util.rs:7
↓ 20 callers
Method
request_redraw
(&mut self)
aspen/src/context_stack/event_context.rs:54
↓ 17 callers
Method
actual_mouse_position
(&self)
aspen/src/context_stack/event_state.rs:96
↓ 15 callers
Method
with_state
( &self, callback: impl FnOnce(&mut State, &Self) -> Result, )
aspen/src/context_stack/context.rs:89
↓ 14 callers
Method
position
(self, transform: Affine, cx: &mut LayoutContext)
aspen/src/element.rs:178
↓ 13 callers
Method
current_transform
(&self)
aspen/src/context_stack/draw_context.rs:248
↓ 13 callers
Method
token
(&self)
aspen/src/context_stack/context.rs:125
↓ 12 callers
Method
for_region
(&'b mut self, region: &'b MouseRegion)
aspen/src/context_stack/event_context.rs:178
↓ 9 callers
Method
fill
(&mut self, shape: &impl Shape)
aspen/src/context_stack/draw_context.rs:89
↓ 9 callers
Method
focus
(&self)
aspen/src/context_stack/context.rs:120
↓ 9 callers
Method
mouse_position
(&self)
aspen/src/context_stack/draw_context.rs:285
↓ 9 callers
Method
set_fill_brush
(&mut self, fill_brush: Brush)
aspen/src/context_stack/draw_context.rs:85
↓ 9 callers
Method
size
(&self)
aspen/src/element.rs:174
↓ 9 callers
Method
stroke
(&mut self, shape: &impl Shape)
aspen/src/context_stack/draw_context.rs:75
↓ 8 callers
Method
mouse_region
(&mut self, region: impl Shape)
aspen/src/context_stack/draw_context.rs:363
↓ 8 callers
Method
region
(&self)
aspen/src/context_stack/draw_context.rs:380
↓ 8 callers
Method
update_layout
(&mut self, cx: &Context)
aspen/src/components/editor.rs:502
↓ 7 callers
Method
update_local_transform
(&mut self, update: impl FnOnce(Affine) -> Affine)
aspen/src/context_stack/draw_context.rs:252
↓ 6 callers
Method
actual_previous_mouse_position
(&self)
aspen/src/context_stack/event_state.rs:100
↓ 6 callers
Method
on_down
(&mut self, f: F)
aspen/src/mouse_region.rs:97
↓ 5 callers
Method
actual_window_rect
(&self)
aspen/src/context_stack/event_state.rs:51
↓ 5 callers
Method
child
(&self, element_token: Token, element_children: &'a Vec<Token>)
aspen/src/context_stack/context.rs:139
↓ 5 callers
Method
children
(&self)
aspen/src/element.rs:35
↓ 5 callers
Method
delete_selection
Delete the selection.
aspen/src/components/editor.rs:109
↓ 5 callers
Method
insert_or_replace_selection
Insert at cursor, or replace selection.
aspen/src/components/editor.rs:89
↓ 5 callers
Method
set_stroke_brush
(&mut self, stroke_brush: Brush)
aspen/src/context_stack/draw_context.rs:71
↓ 5 callers
Method
tokens
(&self)
aspen/src/context_stack/context.rs:129
↓ 5 callers
Method
with_context
( &self, cx: &Context, callback: impl FnOnce(&Context) -> Result, )
aspen/src/element.rs:115
↓ 4 callers
Method
attached_context
(&'a self, window: &'a dyn ContextWindow, event_loop: &'a dyn ContextEventLoop)
aspen/src/application.rs:101
↓ 4 callers
Method
cursor_at
Make a cursor at a given byte index.
aspen/src/components/editor.rs:73
↓ 4 callers
Method
insert_state
(&self, state: State)
aspen/src/context_stack/context.rs:67
↓ 4 callers
Method
layout_builder
( &'a mut self, text: &'a str, default_styles: &Vec<StyleProperty<'static, Brush>>,
aspen/src/shaper.rs:77
↓ 4 callers
Method
push_default_text_style
(&mut self, style: StyleProperty<'static, Brush>)
aspen/src/context_stack/context.rs:47
↓ 4 callers
Method
set_stroke_style
(&mut self, stroke_style: Stroke)
aspen/src/context_stack/draw_context.rs:67
↓ 3 callers
Method
add_child
(&mut self, child: ElementPointer<impl Pinnable + 'static>)
aspen/src/components/board.rs:102
↓ 3 callers
Method
center
(&self, cx: &Context)
aspen/src/components/board.rs:265
↓ 3 callers
Method
is_directly_focused
(&self)
aspen/src/context_stack/context.rs:106
↓ 3 callers
Method
is_maximized
(&self)
aspen/src/context_stack/attached_context.rs:56
↓ 3 callers
Method
mix
(&self, other: &Self, factor: f64)
aspen/src/util.rs:43
↓ 3 callers
Method
mouse_down
Mouse Functions
aspen/src/context_stack/event_state.rs:56
↓ 3 callers
Method
previous_mouse_position
(&self)
aspen/src/context_stack/draw_context.rs:306
↓ 3 callers
Method
right_mouse_down
(&self)
aspen/src/context_stack/event_state.rs:60
↓ 3 callers
Method
scroll_delta
(&self)
aspen/src/context_stack/event_state.rs:110
↓ 3 callers
Method
with_icon
(&mut self, icon: CursorIcon)
aspen/src/mouse_region.rs:72
↓ 3 callers
Method
with_root
(&self, callback: impl FnOnce(&Root, &Context) -> Result)
aspen/src/application.rs:175
↓ 2 callers
Method
add_region
(&mut self, element_token: Token, transform: Affine, size: Size)
aspen/src/context_stack/layout_context.rs:46
↓ 2 callers
Method
as_pinnable
(self, center: Point, cx: &Context)
aspen/src/components/board.rs:275
↓ 2 callers
Method
collapse_selection
Collapse selection into caret.
aspen/src/components/editor.rs:348
↓ 2 callers
Method
corners
(&self)
aspen/src/util.rs:79
↓ 2 callers
Method
drag_resize_window
(&self, direction: ResizeDirection)
aspen/src/context_stack/attached_context.rs:72
↓ 2 callers
Method
draw
(&mut self, child_lookup: HashMap<Token, HashSet<Token>>, window: &dyn ContextWindow, event_loop: &dyn Context
aspen/src/application.rs:157
↓ 2 callers
Method
draw_frame
(&mut self, event_loop: &ActiveEventLoop)
aspen/src/winit_runner.rs:40
↓ 2 callers
Method
exit
(&self)
aspen/src/context_stack/attached_context.rs:153
↓ 2 callers
Method
icon
(&self)
aspen/src/components/resize_handles.rs:79
↓ 2 callers
Method
mouse_delta
(&self)
aspen/src/context_stack/draw_context.rs:327
↓ 2 callers
Method
mouse_just_down
(&self)
aspen/src/context_stack/event_state.rs:80
↓ 2 callers
Method
on_click
(&mut self, f: F)
aspen/src/mouse_region.rs:117
↓ 2 callers
Method
on_drag
(&mut self, f: F)
aspen/src/mouse_region.rs:77
↓ 2 callers
Method
resize_direction
(&self)
aspen/src/components/resize_handles.rs:70
↓ 2 callers
Method
right_mouse_just_down
(&self)
aspen/src/context_stack/event_state.rs:84
↓ 2 callers
Method
selected_text
If the current selection is not collapsed, returns the text content of that selection.
aspen/src/components/editor.rs:473
↓ 2 callers
Method
set_cursor
(&self, icon: CursorIcon)
aspen/src/context_stack/attached_context.rs:78
↓ 2 callers
Method
snap
(&self)
aspen/src/util.rs:110
↓ 2 callers
Method
tick
(&mut self)
aspen/src/test_runner.rs:38
↓ 2 callers
Method
tokens
Returns a list of tokens associated with this element. Includes the element's token and all of it's children's tokens.
aspen/src/element.rs:104
↓ 2 callers
Method
transform_by_token
(&self, other_token: Token)
aspen/src/context_stack/draw_context.rs:403
↓ 2 callers
Method
unskewed_scale
(&self)
aspen/src/util.rs:120
↓ 1 callers
Method
add
(&self, other: &Self)
aspen/src/util.rs:17
↓ 1 callers
Method
add_region
(&mut self, region: MouseRegion)
aspen/src/mouse_region.rs:166
↓ 1 callers
Method
any_in_progress_mouse_regions
(&self)
aspen/src/context_stack/draw_context.rs:430
↓ 1 callers
Method
any_in_progress_mouse_regions_recursive
(&self, token: Token)
aspen/src/context_stack/draw_context.rs:413
↓ 1 callers
Method
backdelete
Delete the selection or the previous cluster (typical ‘backspace’ behavior).
aspen/src/components/editor.rs:207
↓ 1 callers
Method
backdelete_word
Delete the selection or back to the previous word boundary (typical ‘ctrl + backspace’ behavior).
aspen/src/components/editor.rs:240
↓ 1 callers
Method
blurred
(&mut self, rounded_rect: RoundedRect, std_dev: f64)
aspen/src/context_stack/draw_context.rs:104
↓ 1 callers
Method
center_left
(&self)
aspen/src/util.rs:88
↓ 1 callers
Method
center_right
(&self)
aspen/src/util.rs:92
↓ 1 callers
Method
children
(&self)
aspen/src/context_stack/context.rs:135
↓ 1 callers
Method
clear_regions
(&mut self)
aspen/src/mouse_region.rs:162
↓ 1 callers
Method
close
(&self)
aspen/src/context_stack/attached_context.rs:48
↓ 1 callers
Method
context
(&'a self)
aspen/src/application.rs:90
↓ 1 callers
Method
corner_square
(&self, ordinal: Ordinal, depth: f64)
aspen/src/geometry.rs:64
↓ 1 callers
Method
cursor_geometry
Get a rectangle representing the current caret cursor position.
aspen/src/components/editor.rs:498
↓ 1 callers
Method
delete
Delete the selection or the next cluster (typical ‘delete’ behavior).
aspen/src/components/editor.rs:172
↓ 1 callers
Method
delete_word
Delete the selection or up to the next word boundary (typical ‘ctrl + delete’ behavior).
aspen/src/components/editor.rs:189
↓ 1 callers
Method
drag_window
(&self)
aspen/src/context_stack/attached_context.rs:68
↓ 1 callers
Method
draw
(&self, cx: &mut DrawContext)
aspen/src/components/board.rs:135
↓ 1 callers
Method
draw_layout_at
(&mut self, layout: &Layout<Brush>, position: Point)
aspen/src/context_stack/draw_context.rs:118
↓ 1 callers
Method
edge_rect
(&self, cardinal: Cardinal, depth: f64)
aspen/src/geometry.rs:43
↓ 1 callers
Method
expect_cursor_icon
(&mut self, icon: Cursor)
aspen/src/test_runner.rs:100
↓ 1 callers
Method
extend_selection_to_point
Move the selection focus point to the cluster boundary closest to point. If the initial selection was created from a word or line, then the new selec
aspen/src/components/editor.rs:439
↓ 1 callers
Method
handle_pressed_key
(&mut self, key: Key, modifiers: Modifiers, cx: &Context)
aspen/src/components/editor.rs:512
↓ 1 callers
Method
input_key
(&mut self, key: Key)
aspen/src/test_runner.rs:84
↓ 1 callers
Method
input_text
(&mut self, text: &str)
aspen/src/test_runner.rs:69
↓ 1 callers
Method
is_focused
(&self)
aspen/src/context_stack/context.rs:113
↓ 1 callers
Method
key_events
(&self)
aspen/src/context_stack/event_state.rs:119
↓ 1 callers
Method
layout
(&self, window: &dyn ContextWindow, event_loop: &dyn ContextEventLoop)
aspen/src/application.rs:136
↓ 1 callers
Method
layout
(&mut self, min: Size, max: Size, cx: &mut LayoutContext)
aspen/src/components/editor.rs:691
↓ 1 callers
Method
layout_within
(&self, text: &str, max_advance: f32)
aspen/src/context_stack/context.rs:61
next →
1–100 of 323, ranked by callers