Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VimYoung/Spell
/ functions
Functions
249 in github.com/VimYoung/Spell
⨍
Functions
249
◇
Types & classes
52
↓ 20 callers
Method
try_dispatch_event
( &self, event: slint::platform::WindowEvent, )
spell-framework/src/skia_non_docs.rs:222
↓ 13 callers
Method
into
(self)
spell-framework/src/configure.rs:14
↓ 10 callers
Method
build
Creates an instnce of [`WindowConf`] with the provided configurations. This function result in an error if width and height are not set or they are se
spell-framework/src/configure.rs:202
↓ 5 callers
Method
anchor_1
Sets first anchor of [`WindowConf::anchor`].
spell-framework/src/configure.rs:130
↓ 5 callers
Function
get_tracing_debug
(log_type: LogType, _layer_name: String)
spell-cli/src/main.rs:409
↓ 5 callers
Method
height
Sets [`WindowConf::height`].
spell-framework/src/configure.rs:123
↓ 5 callers
Method
set_config_internal
(&self)
spell-framework/src/wayland_adapter.rs:486
↓ 5 callers
Function
show_help
(sub_command: Option<&str>)
spell-cli/src/main.rs:442
↓ 5 callers
Method
width
Sets [`WindowConf::width`].
spell-framework/src/configure.rs:116
↓ 4 callers
Function
copy_dir
(src: &[u8], dst: impl AsRef<Path>)
spell-cli/src/main.rs:576
↓ 4 callers
Function
fingerprint
(fprint: Fprint)
spell-cli/src/main.rs:218
↓ 4 callers
Function
get_string
(event: KeyEvent)
spell-framework/src/wayland_adapter/way_helper.rs:74
↓ 3 callers
Method
draw
(&mut self, qh: &QueueHandle<Self>)
spell-framework/src/bin/minimum_layer.rs:431
↓ 3 callers
Function
get_logs
(layer_name: Option<String>, mut values: Args)
spell-cli/src/main.rs:388
↓ 3 callers
Method
layer_type
Sets [`WindowConf::layer_type`].
spell-framework/src/configure.rs:165
↓ 3 callers
Method
margins
Sets [`WindowConf::margin`].
spell-framework/src/configure.rs:158
↓ 3 callers
Method
request_redraw
(&self)
spell-framework/src/skia_non_docs.rs:168
↓ 2 callers
Method
anchor_2
Sets second anchor of [`WindowConf::anchor`].
spell-framework/src/configure.rs:137
↓ 2 callers
Method
converter
(&mut self, qh: &QueueHandle<Self>)
spell-framework/src/wayland_adapter.rs:495
↓ 2 callers
Method
converter_lock
(&mut self, qh: &QueueHandle<Self>)
spell-framework/src/wayland_adapter.rs:1122
↓ 2 callers
Function
create_spell_project
( path: String, external_lib: ThirdPartyComponents, )
spell-cli/src/main.rs:307
↓ 2 callers
Method
draw_if_needed
(&self)
spell-framework/src/skia_non_docs.rs:218
↓ 2 callers
Method
enter
( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &wl_keyboard::WlKeyboar
spell-framework/src/bin/minimum_layer.rs:292
↓ 2 callers
Method
frame
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _surface: &wl_surface
spell-framework/src/wayland_adapter.rs:688
↓ 2 callers
Method
get_span
Internal method used to retrive logging span of a window.
spell-framework/src/lib.rs:67
↓ 2 callers
Function
lookup_in_theme_chain
Searches `theme_name` across all `search_dirs`, then recurses into each theme listed in its `Inherits=` line. `visited` prevents cycles.
spell-framework/src/vault/application.rs:130
↓ 2 callers
Function
map_pointer_button
Maps evdev pointer button codes to the Slint [PointerEventButton] enum.
spell-framework/src/wayland_adapter/pointer_button.rs:14
↓ 2 callers
Method
on_call
(&mut self)
spell-framework/src/wayland_adapter.rs:603
↓ 2 callers
Function
set_config
( window_conf: &WindowConf, layer: &LayerSurface, input_region: Option<&WlRegion>, opaque_regi
spell-framework/src/wayland_adapter/way_helper.rs:37
↓ 2 callers
Method
set_size
(&self, size: slint::WindowSize)
spell-framework/src/skia_non_docs.rs:159
↓ 2 callers
Function
set_up_tracing
(widget_name: &str)
spell-framework/src/configure.rs:436
↓ 1 callers
Function
build_icon_search_dirs
Builds the ordered list of base icon directories per the spec: $HOME/.icons $XDG_DATA_HOME/icons (defaults to $HOME/.local/share/icons) $XDG_DATA_DIR
spell-framework/src/vault/application.rs:78
↓ 1 callers
Method
changed_scale_factor
(&self, scale: u32)
spell-framework/src/skia_non_docs.rs:229
↓ 1 callers
Method
close_notification
( &self, #[zbus(signal_emitter)] emitter: SignalEmitter<'_>, id: u32, )
spell-framework/src/vault/notification_manager.rs:268
↓ 1 callers
Function
custom_called
(layer_name: String, command: &str)
spell-cli/src/main.rs:494
↓ 1 callers
Function
desktop_entry_extracter
TODO: Have to add binding for other side of application for following 2 tasks 1. Updating the list if new apps get added (via traits). 2. Providing a
spell-framework/src/vault/application.rs:364
↓ 1 callers
Method
draw
(&self)
spell-framework/src/skia_non_docs.rs:206
↓ 1 callers
Function
enroll_fingerprint
(proxy: &FprintdClientProxy<'_>)
spell-cli/src/main.rs:271
↓ 1 callers
Function
find_icon_in_theme_dir
Scans all subdirectories of a theme directory for `icon_name`, returning the path whose size is closest to PREFERRED_SIZE. Supports both fixed-size (
spell-framework/src/vault/application.rs:169
↓ 1 callers
Method
frame
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _surface: &wl_surface
spell-framework/src/bin/minimum_layer.rs:152
↓ 1 callers
Function
get_desktop_id
(file_path: &Path)
spell-framework/src/vault/application.rs:342
↓ 1 callers
Function
get_exec_command
TODO: Backslash and quoting is not handled properly, needs to be done.
spell-framework/src/vault/application.rs:310
↓ 1 callers
Function
get_icon_theme_name
Queries the active icon theme via gsettings. Returns "hicolor" on failure.
spell-framework/src/vault/application.rs:42
↓ 1 callers
Function
get_image_path
Resolves an icon name to an absolute file path using the freedesktop icon theme specification lookup algorithm. Search order: 1. Active GTK icon them
spell-framework/src/vault/application.rs:33
↓ 1 callers
Method
get_scale
( &self, surface: &WlSurface, queue_handle: &QueueHandle<State>, )
spell-framework/src/wayland_adapter/fractional_scaling.rs:44
↓ 1 callers
Method
get_viewport
( &self, surface: &WlSurface, queue_handle: &QueueHandle<State>, fractional_sc
spell-framework/src/wayland_adapter/viewporter.rs:44
↓ 1 callers
Method
hide
Hides the layer (aka the widget) if it is visible in screen.
spell-framework/src/wayland_adapter.rs:401
↓ 1 callers
Method
hide
(&self)
spell-framework/src/bin/minimum_layer.rs:421
↓ 1 callers
Function
hide_window
(layer_name: String)
spell-cli/src/main.rs:462
↓ 1 callers
Method
is_locked
Internal method used to specify when to eliminate the event loop.
spell-framework/src/lib.rs:72
↓ 1 callers
Function
list_devices_and_fingerprints
( conn_system: &Connection, manager_proxy: &FprintdManagerClientProxy<'_>, )
spell-cli/src/main.rs:233
↓ 1 callers
Function
look_value
(layer_name: String, mut values: Args)
spell-cli/src/main.rs:478
↓ 1 callers
Function
lookup_icon
Performs the full icon lookup: active theme chain → hicolor → pixmaps.
spell-framework/src/vault/application.rs:102
↓ 1 callers
Function
mouse_cursor_to_shape
Maps the slint cursor enum to the wayland cursor shape enum [MouseCursor::None] is handled internally by the program because there is no wayland curs
spell-framework/src/wayland_adapter/slint_to_wl_cursor_mapping.rs:7
↓ 1 callers
Function
notification_service_enter
( sender: Sender<NotifyEvent>, layer_name: String, )
spell-framework/src/vault/notification_manager.rs:64
↓ 1 callers
Function
parse_theme_inherits
Reads `Inherits=` from a theme's index.theme, searching across all base directories (a theme may be split across multiple XDG data dirs).
spell-framework/src/vault/application.rs:253
↓ 1 callers
Method
preferred_scale
( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &wl_surface::WlSurface,
spell-framework/src/wayland_adapter.rs:720
↓ 1 callers
Function
read_theme_directories
Returns the subdirectory list from `Directories=` in index.theme. Falls back to a raw filesystem scan if the file is absent or unparseable.
spell-framework/src/vault/application.rs:201
↓ 1 callers
Method
refresh_buffer
(&self, width: i32, height: i32)
spell-framework/src/skia_non_docs.rs:36
↓ 1 callers
Method
request_new_lock
(&mut self)
spell-framework/src/slint_adapter.rs:112
↓ 1 callers
Function
scan_theme_subdirs_recursive
Recursively collects subdirectory paths relative to `theme_path`. Stops after two levels (size_dir/context_dir) to match the typical theme layout and
spell-framework/src/vault/application.rs:223
↓ 1 callers
Function
set_anchor
(window_conf: &WindowConf, layer: &LayerSurface)
spell-framework/src/wayland_adapter/way_helper.rs:61
↓ 1 callers
Method
set_destination
(&self, width: i32, height: i32)
spell-framework/src/wayland_adapter/viewporter.rs:67
↓ 1 callers
Function
set_event_sources
( event_loop: &EventLoop<'static, SpellWin>, handle: HomeHandle, slint_event_receiver: calloop::ch
spell-framework/src/wayland_adapter/way_helper.rs:181
↓ 1 callers
Method
set_exclusive_zone
This method is used to set exclusive zone. Generally, useful when dimensions of width are different than exclusive zone you want.
spell-framework/src/wayland_adapter.rs:594
↓ 1 callers
Method
set_source
(&self, x: f64, y: f64, width: f64, height: f64)
spell-framework/src/wayland_adapter/viewporter.rs:63
↓ 1 callers
Method
show_again
Brings back the layer (aka the widget) back on screen if it is hidden.
spell-framework/src/wayland_adapter.rs:409
↓ 1 callers
Method
show_again
(&mut self)
spell-framework/src/bin/minimum_layer.rs:426
↓ 1 callers
Function
show_window_back
(layer_name: String)
spell-cli/src/main.rs:470
↓ 1 callers
Function
size_distance
Computes how far a theme subdirectory's size is from PREFERRED_SIZE. Lower is better; 0 is an exact match. Handles formats like "48x48", "48x48@2x",
spell-framework/src/vault/application.rs:279
↓ 1 callers
Method
unlock
( &mut self, username: Option<&str>, password: &str, on_unlock_callback: Box<d
spell-framework/src/wayland_adapter.rs:1207
↓ 1 callers
Method
unlock_finger
(&mut self, error_callback: Box<dyn FnOnce() + Send>)
spell-framework/src/wayland_adapter.rs:1171
↓ 1 callers
Method
update_cursor
Updates the cursor shape If the cursor is [MouseCursor::None], the cursor will be hidden If the cursor is not [MouseCursor::None], the cursor will b
spell-framework/src/wayland_adapter/way_helper.rs:158
↓ 1 callers
Function
update_value
(layer_name: String, values: Args)
spell-cli/src/main.rs:502
↓ 1 callers
Function
verify_fingerprint
(proxy: &FprintdClientProxy<'_>)
spell-cli/src/main.rs:253
↓ 1 callers
Method
write
(&mut self, buf: &[u8])
spell-framework/src/configure.rs:501
Method
action_invoked
Calls an action to the owner application of the notification via a dbus signal.
spell-framework/src/vault.rs:59
Method
add_event
Add a recurring event. This function takes [`std::time::Duration`] to specify time after which it will be polled again with a callback to run. The cal
spell-framework/src/forge.rs:46
Method
add_input_region
This function adds specific rectangular regions of your complete layer to receive input events from pointer and/or touch. The coordinates are in surfa
spell-framework/src/wayland_adapter.rs:433
Method
add_opaque_region
This function marks specific rectangular regions of your complete layer as opaque. This can result in specific optimisations from your wayland composi
spell-framework/src/wayland_adapter.rs:462
Method
anchor_3
Sets third anchor of [`WindowConf::anchor`].
spell-framework/src/configure.rs:144
Method
anchor_4
Sets fourth anchor of [`WindowConf::anchor`].
spell-framework/src/configure.rs:151
Method
bind
( globals: &GlobalList, queue_handle: &QueueHandle<State>, )
spell-framework/src/wayland_adapter/fractional_scaling.rs:31
Method
bind
( globals: &GlobalList, queue_handle: &QueueHandle<State>, )
spell-framework/src/wayland_adapter/viewporter.rs:33
Method
board_interactivity
Sets [`WindowConf::board_interactivity`].
spell-framework/src/configure.rs:172
Method
builder
Creates a builder instance for creation of WindowConf, to view defaults head over to documentation of [`WindowConf`]'s parameters.
spell-framework/src/configure.rs:94
Method
call_close
Method to ask the server to emit a signal for closing a particular notificaiton.
spell-framework/src/vault.rs:42
Method
cancel
( &mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _touch: &smithay_cli
spell-framework/src/wayland_adapter/widget_impls/lock_impl.rs:502
Method
cancel
( &mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _touch: &smithay_cli
spell-framework/src/wayland_adapter/widget_impls/win_impl.rs:117
Function
cast_spell_inner
event loop function internally used by [`cast_spell`] for single widget setups. Not to be used by end user,
spell-framework/src/lib.rs:79
Function
cast_spells_new
event loop function internally used by [`cast_spell`] for multiple widget setups. Not to be used by end user.
spell-framework/src/lib.rs:91
Method
closed
(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _layer: &LayerSurface)
spell-framework/src/wayland_adapter.rs:764
Method
closed
(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _layer: &LayerSurface)
spell-framework/src/bin/minimum_layer.rs:214
Method
configure
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _layer: &LayerSurface
spell-framework/src/wayland_adapter.rs:768
Method
configure
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _surface: SessionLock
spell-framework/src/wayland_adapter/widget_impls/lock_impl.rs:147
Method
configure
( &mut self, conn: &Connection, qh: &QueueHandle<Self>, window: &smithay_clien
spell-framework/src/wayland_adapter/widget_impls/win_impl.rs:33
Method
configure
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _layer: &LayerSurface
spell-framework/src/bin/minimum_layer.rs:218
Method
create_window
( conn: &Connection, mut window_conf: WindowConf, layer_name: String, handle:
spell-framework/src/wayland_adapter.rs:142
Method
create_window_adapter
(&self)
spell-framework/src/slint_adapter.rs:67
Method
custom_command
This method is invoked is neither update nor look is called. Can be used to perform custom operations.
spell-framework/src/lib.rs:56
next →
1–100 of 249, ranked by callers