MCPcopy Create free account

hub / github.com/VimYoung/Spell / functions

Functions249 in github.com/VimYoung/Spell

↓ 20 callersMethodtry_dispatch_event
( &self, event: slint::platform::WindowEvent, )
spell-framework/src/skia_non_docs.rs:222
↓ 13 callersMethodinto
(self)
spell-framework/src/configure.rs:14
↓ 10 callersMethodbuild
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 callersMethodanchor_1
Sets first anchor of [`WindowConf::anchor`].
spell-framework/src/configure.rs:130
↓ 5 callersFunctionget_tracing_debug
(log_type: LogType, _layer_name: String)
spell-cli/src/main.rs:409
↓ 5 callersMethodheight
Sets [`WindowConf::height`].
spell-framework/src/configure.rs:123
↓ 5 callersMethodset_config_internal
(&self)
spell-framework/src/wayland_adapter.rs:486
↓ 5 callersFunctionshow_help
(sub_command: Option<&str>)
spell-cli/src/main.rs:442
↓ 5 callersMethodwidth
Sets [`WindowConf::width`].
spell-framework/src/configure.rs:116
↓ 4 callersFunctioncopy_dir
(src: &[u8], dst: impl AsRef<Path>)
spell-cli/src/main.rs:576
↓ 4 callersFunctionfingerprint
(fprint: Fprint)
spell-cli/src/main.rs:218
↓ 4 callersFunctionget_string
(event: KeyEvent)
spell-framework/src/wayland_adapter/way_helper.rs:74
↓ 3 callersMethoddraw
(&mut self, qh: &QueueHandle<Self>)
spell-framework/src/bin/minimum_layer.rs:431
↓ 3 callersFunctionget_logs
(layer_name: Option<String>, mut values: Args)
spell-cli/src/main.rs:388
↓ 3 callersMethodlayer_type
Sets [`WindowConf::layer_type`].
spell-framework/src/configure.rs:165
↓ 3 callersMethodmargins
Sets [`WindowConf::margin`].
spell-framework/src/configure.rs:158
↓ 3 callersMethodrequest_redraw
(&self)
spell-framework/src/skia_non_docs.rs:168
↓ 2 callersMethodanchor_2
Sets second anchor of [`WindowConf::anchor`].
spell-framework/src/configure.rs:137
↓ 2 callersMethodconverter
(&mut self, qh: &QueueHandle<Self>)
spell-framework/src/wayland_adapter.rs:495
↓ 2 callersMethodconverter_lock
(&mut self, qh: &QueueHandle<Self>)
spell-framework/src/wayland_adapter.rs:1122
↓ 2 callersFunctioncreate_spell_project
( path: String, external_lib: ThirdPartyComponents, )
spell-cli/src/main.rs:307
↓ 2 callersMethoddraw_if_needed
(&self)
spell-framework/src/skia_non_docs.rs:218
↓ 2 callersMethodenter
( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &wl_keyboard::WlKeyboar
spell-framework/src/bin/minimum_layer.rs:292
↓ 2 callersMethodframe
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _surface: &wl_surface
spell-framework/src/wayland_adapter.rs:688
↓ 2 callersMethodget_span
Internal method used to retrive logging span of a window.
spell-framework/src/lib.rs:67
↓ 2 callersFunctionlookup_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 callersFunctionmap_pointer_button
Maps evdev pointer button codes to the Slint [PointerEventButton] enum.
spell-framework/src/wayland_adapter/pointer_button.rs:14
↓ 2 callersMethodon_call
(&mut self)
spell-framework/src/wayland_adapter.rs:603
↓ 2 callersFunctionset_config
( window_conf: &WindowConf, layer: &LayerSurface, input_region: Option<&WlRegion>, opaque_regi
spell-framework/src/wayland_adapter/way_helper.rs:37
↓ 2 callersMethodset_size
(&self, size: slint::WindowSize)
spell-framework/src/skia_non_docs.rs:159
↓ 2 callersFunctionset_up_tracing
(widget_name: &str)
spell-framework/src/configure.rs:436
↓ 1 callersFunctionbuild_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 callersMethodchanged_scale_factor
(&self, scale: u32)
spell-framework/src/skia_non_docs.rs:229
↓ 1 callersMethodclose_notification
( &self, #[zbus(signal_emitter)] emitter: SignalEmitter<'_>, id: u32, )
spell-framework/src/vault/notification_manager.rs:268
↓ 1 callersFunctioncustom_called
(layer_name: String, command: &str)
spell-cli/src/main.rs:494
↓ 1 callersFunctiondesktop_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 callersMethoddraw
(&self)
spell-framework/src/skia_non_docs.rs:206
↓ 1 callersFunctionenroll_fingerprint
(proxy: &FprintdClientProxy<'_>)
spell-cli/src/main.rs:271
↓ 1 callersFunctionfind_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 callersMethodframe
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _surface: &wl_surface
spell-framework/src/bin/minimum_layer.rs:152
↓ 1 callersFunctionget_desktop_id
(file_path: &Path)
spell-framework/src/vault/application.rs:342
↓ 1 callersFunctionget_exec_command
TODO: Backslash and quoting is not handled properly, needs to be done.
spell-framework/src/vault/application.rs:310
↓ 1 callersFunctionget_icon_theme_name
Queries the active icon theme via gsettings. Returns "hicolor" on failure.
spell-framework/src/vault/application.rs:42
↓ 1 callersFunctionget_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 callersMethodget_scale
( &self, surface: &WlSurface, queue_handle: &QueueHandle<State>, )
spell-framework/src/wayland_adapter/fractional_scaling.rs:44
↓ 1 callersMethodget_viewport
( &self, surface: &WlSurface, queue_handle: &QueueHandle<State>, fractional_sc
spell-framework/src/wayland_adapter/viewporter.rs:44
↓ 1 callersMethodhide
Hides the layer (aka the widget) if it is visible in screen.
spell-framework/src/wayland_adapter.rs:401
↓ 1 callersMethodhide
(&self)
spell-framework/src/bin/minimum_layer.rs:421
↓ 1 callersFunctionhide_window
(layer_name: String)
spell-cli/src/main.rs:462
↓ 1 callersMethodis_locked
Internal method used to specify when to eliminate the event loop.
spell-framework/src/lib.rs:72
↓ 1 callersFunctionlist_devices_and_fingerprints
( conn_system: &Connection, manager_proxy: &FprintdManagerClientProxy<'_>, )
spell-cli/src/main.rs:233
↓ 1 callersFunctionlook_value
(layer_name: String, mut values: Args)
spell-cli/src/main.rs:478
↓ 1 callersFunctionlookup_icon
Performs the full icon lookup: active theme chain → hicolor → pixmaps.
spell-framework/src/vault/application.rs:102
↓ 1 callersFunctionmouse_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 callersFunctionnotification_service_enter
( sender: Sender<NotifyEvent>, layer_name: String, )
spell-framework/src/vault/notification_manager.rs:64
↓ 1 callersFunctionparse_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 callersMethodpreferred_scale
( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &wl_surface::WlSurface,
spell-framework/src/wayland_adapter.rs:720
↓ 1 callersFunctionread_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 callersMethodrefresh_buffer
(&self, width: i32, height: i32)
spell-framework/src/skia_non_docs.rs:36
↓ 1 callersMethodrequest_new_lock
(&mut self)
spell-framework/src/slint_adapter.rs:112
↓ 1 callersFunctionscan_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 callersFunctionset_anchor
(window_conf: &WindowConf, layer: &LayerSurface)
spell-framework/src/wayland_adapter/way_helper.rs:61
↓ 1 callersMethodset_destination
(&self, width: i32, height: i32)
spell-framework/src/wayland_adapter/viewporter.rs:67
↓ 1 callersFunctionset_event_sources
( event_loop: &EventLoop<'static, SpellWin>, handle: HomeHandle, slint_event_receiver: calloop::ch
spell-framework/src/wayland_adapter/way_helper.rs:181
↓ 1 callersMethodset_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 callersMethodset_source
(&self, x: f64, y: f64, width: f64, height: f64)
spell-framework/src/wayland_adapter/viewporter.rs:63
↓ 1 callersMethodshow_again
Brings back the layer (aka the widget) back on screen if it is hidden.
spell-framework/src/wayland_adapter.rs:409
↓ 1 callersMethodshow_again
(&mut self)
spell-framework/src/bin/minimum_layer.rs:426
↓ 1 callersFunctionshow_window_back
(layer_name: String)
spell-cli/src/main.rs:470
↓ 1 callersFunctionsize_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 callersMethodunlock
( &mut self, username: Option<&str>, password: &str, on_unlock_callback: Box<d
spell-framework/src/wayland_adapter.rs:1207
↓ 1 callersMethodunlock_finger
(&mut self, error_callback: Box<dyn FnOnce() + Send>)
spell-framework/src/wayland_adapter.rs:1171
↓ 1 callersMethodupdate_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 callersFunctionupdate_value
(layer_name: String, values: Args)
spell-cli/src/main.rs:502
↓ 1 callersFunctionverify_fingerprint
(proxy: &FprintdClientProxy<'_>)
spell-cli/src/main.rs:253
↓ 1 callersMethodwrite
(&mut self, buf: &[u8])
spell-framework/src/configure.rs:501
Methodaction_invoked
Calls an action to the owner application of the notification via a dbus signal.
spell-framework/src/vault.rs:59
Methodadd_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
Methodadd_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
Methodadd_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
Methodanchor_3
Sets third anchor of [`WindowConf::anchor`].
spell-framework/src/configure.rs:144
Methodanchor_4
Sets fourth anchor of [`WindowConf::anchor`].
spell-framework/src/configure.rs:151
Methodbind
( globals: &GlobalList, queue_handle: &QueueHandle<State>, )
spell-framework/src/wayland_adapter/fractional_scaling.rs:31
Methodbind
( globals: &GlobalList, queue_handle: &QueueHandle<State>, )
spell-framework/src/wayland_adapter/viewporter.rs:33
Methodboard_interactivity
Sets [`WindowConf::board_interactivity`].
spell-framework/src/configure.rs:172
Methodbuilder
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
Methodcall_close
Method to ask the server to emit a signal for closing a particular notificaiton.
spell-framework/src/vault.rs:42
Methodcancel
( &mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _touch: &smithay_cli
spell-framework/src/wayland_adapter/widget_impls/lock_impl.rs:502
Methodcancel
( &mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _touch: &smithay_cli
spell-framework/src/wayland_adapter/widget_impls/win_impl.rs:117
Functioncast_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
Functioncast_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
Methodclosed
(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _layer: &LayerSurface)
spell-framework/src/wayland_adapter.rs:764
Methodclosed
(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>, _layer: &LayerSurface)
spell-framework/src/bin/minimum_layer.rs:214
Methodconfigure
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _layer: &LayerSurface
spell-framework/src/wayland_adapter.rs:768
Methodconfigure
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _surface: SessionLock
spell-framework/src/wayland_adapter/widget_impls/lock_impl.rs:147
Methodconfigure
( &mut self, conn: &Connection, qh: &QueueHandle<Self>, window: &smithay_clien
spell-framework/src/wayland_adapter/widget_impls/win_impl.rs:33
Methodconfigure
( &mut self, _conn: &Connection, qh: &QueueHandle<Self>, _layer: &LayerSurface
spell-framework/src/bin/minimum_layer.rs:218
Methodcreate_window
( conn: &Connection, mut window_conf: WindowConf, layer_name: String, handle:
spell-framework/src/wayland_adapter.rs:142
Methodcreate_window_adapter
(&self)
spell-framework/src/slint_adapter.rs:67
Methodcustom_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