MCPcopy Create free account

hub / github.com/Sirulex/cursor-clip / functions

Functions112 in github.com/Sirulex/cursor-clip

↓ 22 callersMethoddestroy
(self)
src/backend/backend_state.rs:53
↓ 9 callersMethodid
(&self)
src/backend/backend_state.rs:117
↓ 6 callersFunctionrebuild_list
(list_box: &gtk4::ListBox, history_state: &HistoryListState)
src/frontend/gtk_overlay.rs:1320
↓ 6 callersFunctionselect_first_row
(list_box: &gtk4::ListBox)
src/frontend/gtk_overlay.rs:1365
↓ 6 callersFunctionselect_first_row_with_focus
(list_box: &gtk4::ListBox, grab_focus: bool)
src/frontend/gtk_overlay.rs:1373
↓ 6 callersMethodsend_message
Send a message and get response
src/frontend/ipc_client.rs:20
↓ 5 callersMethodpersist_history_if_enabled
(&self)
src/backend/backend_state.rs:507
↓ 5 callersFunctionrequest_quit
Centralized quit path to avoid double-close reentrancy and ensure flags + app quit
src/frontend/gtk_overlay.rs:114
↓ 5 callersFunctionsave_config
(config: &UserConfig)
src/frontend/gtk_overlay.rs:95
↓ 3 callersMethodas_str
Return a static string representation of the content type (future multi-language support)
src/shared/data_structures.rs:116
↓ 2 callersMethodadd_clipboard_item_from_mime_map
( &mut self, mut mime_content: IndexMap<String, Bytes>, )
src/backend/backend_state.rs:205
↓ 2 callersFunctionapply_pinned_state
(history_state: &HistoryListState, item_id: u64, pinned: bool)
src/frontend/gtk_overlay.rs:1444
↓ 2 callersMethodbind_data_device
(&self, manager: DataControlManager, qh: &QueueHandle<MutexBackendState>)
src/backend/wayland_clipboard.rs:94
↓ 2 callersFunctionconfig_dir
()
src/backend/persistence.rs:210
↓ 2 callersFunctionconfig_path
()
src/frontend/gtk_overlay.rs:66
↓ 2 callersMethoddelete_item_by_id
Delete a single clipboard item by ID
src/frontend/ipc_client.rs:95
↓ 2 callersFunctionfind_button_in_row
(row: &gtk4::ListBoxRow, class_name: &str)
src/frontend/gtk_overlay.rs:1498
↓ 2 callersMethodget_history
Get clipboard history
src/frontend/ipc_client.rs:37
↓ 2 callersMethodget_item_by_id
(&self, id: u64)
src/backend/backend_state.rs:338
↓ 2 callersFunctionhandle_data_offer
Handle a new data offer from either Wlr or Ext device.
src/backend/wayland_clipboard.rs:126
↓ 2 callersFunctionhandle_offer_mime
Register an offered MIME type for the given offer object, filtering out video types.
src/backend/wayland_clipboard.rs:132
↓ 2 callersFunctionhandle_selection_event
Handle a Selection event from either Wlr or Ext device. `read_mime_data` is called (with the lock released) to read the data from the offer.
src/backend/wayland_clipboard.rs:147
↓ 2 callersFunctionhandle_source_cancelled
Handle a Source Cancelled event. Re-enables selection reading if this is the active source.
src/backend/wayland_clipboard.rs:243
↓ 2 callersFunctionhandle_source_send
Handle a Source Send event for either Wlr or Ext source.
src/backend/wayland_clipboard.rs:216
↓ 2 callersFunctionhistory_db_path
()
src/backend/persistence.rs:33
↓ 2 callersFunctionload_overlay_css
(css_provider: &gtk4::CssProvider, is_dark: bool)
src/frontend/gtk_overlay.rs:859
↓ 2 callersFunctionnext_pinned_state
(history_state: &HistoryListState, item_id: u64)
src/frontend/gtk_overlay.rs:1435
↓ 2 callersFunctionread_all_data_formats
Read clipboard data for all target MIME types from any offer type.
src/backend/wayland_clipboard.rs:495
↓ 2 callersFunctionschedule_next_frame_check
(state: &mut State, qhandle: &QueueHandle<State>, frame_count: u8)
src/frontend/dispatch/frame_callback.rs:88
↓ 2 callersFunctionselect_next_row
(list_box: &gtk4::ListBox, wrap_to_first: bool)
src/frontend/gtk_overlay.rs:1386
↓ 2 callersFunctionselect_previous_row
(list_box: &gtk4::ListBox, wrap_to_first: bool)
src/frontend/gtk_overlay.rs:1401
↓ 2 callersFunctionselect_row_by_item_id
(list_box: &gtk4::ListBox, history_state: &HistoryListState, item_id: u64)
src/frontend/gtk_overlay.rs:1418
↓ 2 callersMethodset_clipboard_by_id
( &mut self, entry_id: u64, instant_paste: bool, )
src/backend/backend_state.rs:380
↓ 2 callersFunctionset_delete_buttons_visible
(list_box: &gtk4::ListBox, visible: bool)
src/frontend/gtk_overlay.rs:1475
↓ 2 callersMethodset_persistence_enabled
Enable or disable persistent history in the backend
src/frontend/ipc_client.rs:82
↓ 2 callersMethodset_persistence_enabled
(&mut self, enabled: bool)
src/backend/backend_state.rs:459
↓ 2 callersFunctionset_pin_icons_visible
(list_box: &gtk4::ListBox, visible: bool)
src/frontend/gtk_overlay.rs:1487
↓ 2 callersMethodset_pinned
Set pinned state by ID
src/frontend/ipc_client.rs:62
↓ 2 callersFunctionu64_to_i64
(value: u64)
src/backend/persistence.rs:219
↓ 1 callersMethodadd_clipboard_item_from_text
(&mut self, text: &str)
src/backend/backend_state.rs:322
↓ 1 callersFunctionapply_custom_styling
Apply custom CSS styling for modern GNOME-style rounded window
src/frontend/gtk_overlay.rs:838
↓ 1 callersFunctioncleanup_capture_layer
Destroy capture/update layer resources and underlying Wayland objects.
src/frontend/dispatch/layer_shell.rs:103
↓ 1 callersFunctioncleanup_update_layer
Destroy only the update layer resources (used after minimal frame delay).
src/frontend/dispatch/layer_shell.rs:155
↓ 1 callersMethodclear_history
Clear history
src/frontend/ipc_client.rs:72
↓ 1 callersMethodclear_history
(&mut self)
src/backend/backend_state.rs:342
↓ 1 callersFunctionconfig_path
()
src/backend/persistence.rs:215
↓ 1 callersFunctionconfigure_color_scheme
()
src/frontend/gtk_overlay.rs:191
↓ 1 callersMethodcreate_data_source
(&self, qh: &QueueHandle<MutexBackendState>)
src/backend/backend_state.rs:60
↓ 1 callersFunctioncreate_layer_shell_window
Create and configure the sync layer shell window
src/frontend/gtk_overlay.rs:197
↓ 1 callersFunctioncreate_pipes
Create a pipe, returning `OwnedFd` handles for the read and write ends.
src/backend/wayland_clipboard.rs:451
↓ 1 callersFunctioncreate_transparent_buffer
Helper to create a 1x1 fully transparent buffer either via SPBM or SHM fallback
src/frontend/initializer.rs:238
↓ 1 callersFunctiondb_has_persisted_items
()
src/backend/persistence.rs:75
↓ 1 callersFunctiondecrypt_payload
(cipher: &Aes256Gcm, payload: &str)
src/backend/persistence.rs:246
↓ 1 callersMethoddelete_item_by_id
(&mut self, entry_id: u64)
src/backend/backend_state.rs:356
↓ 1 callersFunctionderive_cipher
(password: &str)
src/backend/persistence.rs:223
↓ 1 callersFunctionencrypt_payload
(cipher: &Aes256Gcm, plaintext: &str)
src/backend/persistence.rs:230
↓ 1 callersFunctionformat_timestamp
Format Unix timestamp to relative time string
src/frontend/gtk_overlay.rs:1521
↓ 1 callersFunctiongenerate_and_store_db_password
()
src/backend/persistence.rs:51
↓ 1 callersFunctiongenerate_key_controller
Build the key controller handling Esc (close), j/k or arrows (navigate) and Enter (activate)
src/frontend/gtk_overlay.rs:689
↓ 1 callersFunctiongenerate_listboxrow_from_preview
Create a clipboard history item row from backend data
src/frontend/gtk_overlay.rs:1169
↓ 1 callersFunctiongenerate_overlay_content
Create a Windows 11-style clipboard history list with provided (prefetched) backend data. Falls back to a lazy on-demand fetch only if the provided ve
src/frontend/gtk_overlay.rs:283
↓ 1 callersMethodget_data_device
( &self, seat: &wl_seat::WlSeat, qh: &QueueHandle<MutexBackendState>, )
src/backend/backend_state.rs:67
↓ 1 callersMethodget_history
(&self)
src/backend/backend_state.rs:331
↓ 1 callersFunctionhandle_client
( stream: UnixStream, state: Arc<Mutex<BackendState>>, )
src/backend/ipc_server.rs:62
↓ 1 callersMethodicon
(self)
src/shared/data_structures.rs:129
↓ 1 callersFunctioninit_clipboard_overlay
( x: f64, y: f64, overlay_width: i32, overlay_height: i32, monitor_width: i32, monitor
src/frontend/gtk_overlay.rs:131
↓ 1 callersFunctioninit_wayland_protocols
( globals: &GlobalList, queue: &EventQueue<State>, state: &mut State, )
src/frontend/initializer.rs:107
↓ 1 callersFunctionis_close_requested
()
src/frontend/gtk_overlay.rs:105
↓ 1 callersFunctionitem_matches_query
(item: &ClipboardItemPreview, query: &str)
src/frontend/gtk_overlay.rs:1356
↓ 1 callersMethodload_history
(&self)
src/backend/persistence.rs:151
↓ 1 callersFunctionload_or_create_config
()
src/frontend/gtk_overlay.rs:74
↓ 1 callersFunctionload_persistence_enabled_from_config
()
src/backend/persistence.rs:22
↓ 1 callersFunctionmake_placeholder_row_with_message
(message: &str)
src/frontend/gtk_overlay.rs:1463
↓ 1 callersMethodoffer
(&self, mime_type: String)
src/backend/backend_state.rs:110
↓ 1 callersFunctionpaste_via_virtual_keyboard_shortcut
()
src/backend/virtual_keyboard.rs:50
↓ 1 callersFunctionread_db_password_from_keyring_once
()
src/backend/persistence.rs:40
↓ 1 callersMethodreceive_mime
(&self, mime_type: String, fd: std::os::fd::BorrowedFd<'_>)
src/backend/wayland_clipboard.rs:483
↓ 1 callersFunctionreset_close_flags
()
src/frontend/gtk_overlay.rs:109
↓ 1 callersFunctionrun_backend
(monitor_only: bool)
src/backend/ipc_server.rs:10
↓ 1 callersFunctionrun_frontend
Frontend always uses its own Wayland connection (may change in future to support shared connection/hide feature)
src/frontend/initializer.rs:72
↓ 1 callersFunctionrun_main_event_loop
( state: &mut State, queue: &mut EventQueue<State>, )
src/frontend/initializer.rs:21
↓ 1 callersMethodsave_history
(&self, history: &[ClipboardItem])
src/backend/persistence.rs:185
↓ 1 callersFunctionselect_first_row_without_focus
(list_box: &gtk4::ListBox)
src/frontend/gtk_overlay.rs:1369
↓ 1 callersFunctionselect_target_mimes
Select the MIME types to actually read from the available list. When image types are present, keep only PNG image data and all non-image variants.
src/backend/wayland_clipboard.rs:465
↓ 1 callersMethodset_clipboard_by_id
Set clipboard by ID
src/frontend/ipc_client.rs:47
↓ 1 callersMethodset_pinned
(&mut self, entry_id: u64, pinned: bool)
src/backend/backend_state.rs:435
↓ 1 callersMethodset_selection
(&self, source: Option<&DataControlSource>)
src/backend/backend_state.rs:87
↓ 1 callersFunctionsetup_capture_layer
(state: &mut State, queue: &EventQueue<State>)
src/frontend/initializer.rs:183
↓ 1 callersFunctionsetup_update_layer
(state: &mut State, qhandle: &QueueHandle<State>)
src/frontend/dispatch/frame_callback.rs:51
↓ 1 callersMethodstart_monitoring
(&self)
src/backend/wayland_clipboard.rs:39
↓ 1 callersFunctionwarn_persistence_sync_error
(context: &str, err: &str)
src/backend/persistence.rs:278
Methoddefault
()
src/frontend/gtk_overlay.rs:56
Methoddefault
()
src/frontend/frontend_state.rs:48
Methoddefault
()
src/backend/backend_state.rs:163
Methoddrop
(&mut self)
src/backend/wayland_clipboard.rs:104
Methodevent
( _state: &mut State, _registry: &WlRegistry, _event: wayland_client::protocol::wl_reg
src/frontend/dispatch/empty_dispatch.rs:44
Methodevent
( state: &mut Self, seat: &wl_seat::WlSeat, event: wl_seat::Event, _data: &(),
src/frontend/dispatch/pointer.rs:8
Methodevent
( state: &mut State, _callback: &wl_callback::WlCallback, event: wl_callback::Event,
src/frontend/dispatch/frame_callback.rs:17
Methodevent
( state: &mut State, layer_surface: &zwlr_layer_surface_v1::ZwlrLayerSurfaceV1, event:
src/frontend/dispatch/layer_shell.rs:9
Methodevent
( wrapper: &mut Self, _: &ZwlrDataControlDeviceV1, event: zwlr_data_control_device_v1:
src/backend/wayland_clipboard.rs:256
next →1–100 of 112, ranked by callers