Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ciantic/VirtualDesktopAccessor
/ functions
Functions
137 in github.com/Ciantic/VirtualDesktopAccessor
⨍
Functions
137
◇
Types & classes
24
↓ 34 callers
Method
as_result
(&self)
src/comobjects.rs:93
↓ 23 callers
Function
with_com_objects
This is a helper function to initialize and run COM related functions in a a single thread. Virtual Desktop COM Objects don't like to being called fr
src/comobjects.rs:863
↓ 16 callers
Function
switch_desktop
Switch desktop by index or GUID
src/desktop.rs:150
↓ 12 callers
Method
get_manager_internal
(&self)
src/comobjects.rs:295
↓ 12 callers
Function
sync_test
Run the tests synchronously
src/tests.rs:13
↓ 11 callers
Method
get_index
(&self)
src/desktop.rs:102
↓ 10 callers
Function
get_desktop
Get desktop by index or GUID # Examples Get first desktop by index `get_desktop(0)` Get second desktop by index `get_desktop(1)` Get desktop by GUID
src/desktop.rs:142
↓ 8 callers
Method
get_idesktop
(&self, desktop: &DesktopInternal)
src/comobjects.rs:486
↓ 7 callers
Method
get_iapplication_view_for_hwnd
(&self, hwnd: &HWND)
src/comobjects.rs:536
↓ 6 callers
Function
eat_error
(func: impl FnOnce() -> Result<T>)
src/listener.rs:181
↓ 6 callers
Function
get_current_desktop
Get current desktop
src/desktop.rs:194
↓ 6 callers
Function
get_desktop_by_window
Get desktop by window
src/desktop.rs:204
↓ 6 callers
Method
get_id
Get the GUID of the desktop
src/desktop.rs:97
↓ 6 callers
Method
get_name
Get desktop name
src/desktop.rs:108
↓ 6 callers
Method
get_pinned_apps
(&self)
src/comobjects.rs:351
↓ 6 callers
Function
listen_desktop_events
Create event sending thread, give this `crossbeam_channel::Sender<T>`, `winit::event_loop::EventLoopProxy<T>`, or `std::sync::mpsc::Sender<T>`. `Desk
src/events.rs:121
↓ 6 callers
Function
move_window_to_desktop
Move window to desktop by index or GUID
src/desktop.rs:179
↓ 6 callers
Method
set_name
Set desktop name
src/desktop.rs:114
↓ 5 callers
Method
get_desktop_id
(&self, desktop: &DesktopInternal)
src/comobjects.rs:563
↓ 5 callers
Function
get_idesktop_guid
(desktop: &IVirtualDesktop)
src/comobjects.rs:839
↓ 5 callers
Method
get_provider
(&self)
src/comobjects.rs:251
↓ 5 callers
Function
log_output
(s: &str)
src/log.rs:7
↓ 4 callers
Method
get_idesktops_array
(&self)
src/comobjects.rs:455
↓ 4 callers
Method
stop
Stops the listener, and join the thread if it is still running, normally you don't need to call this as drop calls this automatically
src/listener.rs:107
↓ 3 callers
Function
GetDesktopCount
()
dll/src/lib.rs:29
↓ 3 callers
Method
get_iapplication_id_for_view
(&self, view: &IApplicationView)
src/comobjects.rs:753
↓ 2 callers
Method
as_error
(&self)
src/comobjects.rs:69
↓ 2 callers
Method
get_desktop_by_window
(&self, window: &HWND)
src/comobjects.rs:687
↓ 2 callers
Function
get_desktop_count
Get desktop count
src/desktop.rs:209
↓ 2 callers
Method
get_desktop_count
(&self)
src/comobjects.rs:677
↓ 2 callers
Method
get_desktop_index_by_guid
(&self, id: &GUID)
src/comobjects.rs:465
↓ 2 callers
Function
get_desktops
Get all desktops
src/desktop.rs:199
↓ 2 callers
Method
get_desktops
(&self)
src/comobjects.rs:572
↓ 2 callers
Method
get_manager
(&self)
src/comobjects.rs:269
↓ 2 callers
Method
get_notification_service
(&self)
src/comobjects.rs:323
↓ 2 callers
Function
is_window_on_current_desktop
(hwnd: HWND)
src/desktop.rs:213
↓ 2 callers
Function
is_window_on_desktop
Is window on desktop by index or GUID
src/desktop.rs:170
↓ 2 callers
Function
log_output
(s: &str)
dll/src/lib.rs:231
↓ 2 callers
Function
pin_app
Pin app
src/desktop.rs:238
↓ 2 callers
Function
pin_window
Pin window
src/desktop.rs:223
↓ 2 callers
Method
try_send
(&self, event: T)
src/events.rs:53
↓ 2 callers
Function
unpin_app
Unpin app
src/desktop.rs:243
↓ 2 callers
Function
unpin_window
Unpin window
src/desktop.rs:228
↓ 1 callers
Function
CreateDesktop
()
dll/src/lib.rs:203
↓ 1 callers
Function
GetDesktopName
( desktop_number: i32, out_utf8_ptr: *mut u8, out_utf8_len: usize, )
dll/src/lib.rs:84
↓ 1 callers
Function
RemoveDesktop
(remove_desktop_number: i32, fallback_desktop_number: i32)
dll/src/lib.rs:212
↓ 1 callers
Function
SetDesktopName
(desktop_number: i32, in_name_ptr: *const i8)
dll/src/lib.rs:76
↓ 1 callers
Function
create_desktop
Create desktop
src/desktop.rs:189
↓ 1 callers
Method
create_desktop
(&self)
src/comobjects.rs:619
↓ 1 callers
Method
drop_services
(&self)
src/comobjects.rs:405
↓ 1 callers
Method
get_current_desktop
(&self)
src/comobjects.rs:706
↓ 1 callers
Method
get_desktop_guid_by_index
(&self, id: u32)
src/comobjects.rs:477
↓ 1 callers
Method
get_desktop_index
(&self, id: &DesktopInternal)
src/comobjects.rs:554
↓ 1 callers
Method
get_desktop_name
(&self, desktop: &DesktopInternal)
src/comobjects.rs:796
↓ 1 callers
Method
get_desktop_wallpaper
(&self, desktop: &DesktopInternal)
src/comobjects.rs:818
↓ 1 callers
Method
get_view_collection
(&self)
src/comobjects.rs:377
↓ 1 callers
Method
get_wallpaper
Get desktop wallpaper path
src/desktop.rs:121
↓ 1 callers
Method
is_connected
(&self)
src/comobjects.rs:425
↓ 1 callers
Function
is_pinned_app
Is pinned app
src/desktop.rs:233
↓ 1 callers
Method
is_pinned_app
(&self, window: &HWND)
src/comobjects.rs:763
↓ 1 callers
Function
is_pinned_window
Is window pinned?
src/desktop.rs:218
↓ 1 callers
Method
is_pinned_window
(&self, window: &HWND)
src/comobjects.rs:719
↓ 1 callers
Method
is_window_on_current_desktop
(&self, window: &HWND)
src/comobjects.rs:655
↓ 1 callers
Method
is_window_on_desktop
(&self, window: &HWND, desktop: &DesktopInternal)
src/comobjects.rs:649
↓ 1 callers
Method
move_view_to_desktop
( &self, view: ComIn<IApplicationView>, desktop: &DesktopInternal, )
src/comobjects.rs:515
↓ 1 callers
Method
move_window_to_desktop
(&self, window: &HWND, desktop: &DesktopInternal)
src/comobjects.rs:671
↓ 1 callers
Method
pin_app
(&self, window: &HWND)
src/comobjects.rs:776
↓ 1 callers
Method
pin_window
(&self, window: &HWND)
src/comobjects.rs:731
↓ 1 callers
Method
register_for_notifications
( &self, // notification: &IVirtualDesktopNotification, notification: *mut c_void, //
src/comobjects.rs:585
↓ 1 callers
Function
remove_desktop
Remove desktop by index or GUID
src/desktop.rs:159
↓ 1 callers
Method
remove_desktop
( &self, desktop: &DesktopInternal, fallback_desktop: &DesktopInternal, )
src/comobjects.rs:633
↓ 1 callers
Method
set_desktop_name
(&self, desktop: &DesktopInternal, name: &str)
src/comobjects.rs:806
↓ 1 callers
Method
set_desktop_wallpaper
(&self, desktop: &DesktopInternal, path: &str)
src/comobjects.rs:828
↓ 1 callers
Method
set_wallpaper
Set desktop wallpaper path
src/desktop.rs:127
↓ 1 callers
Method
switch_desktop
(&self, desktop: &DesktopInternal)
src/comobjects.rs:608
↓ 1 callers
Method
unpin_app
(&self, window: &HWND)
src/comobjects.rs:786
↓ 1 callers
Method
unpin_window
(&self, window: &HWND)
src/comobjects.rs:742
↓ 1 callers
Method
unregister_for_notifications
(&self, cookie: u32)
src/comobjects.rs:602
Function
GetCurrentDesktopNumber
()
dll/src/lib.rs:19
Function
GetDesktopIdByNumber
(number: i32)
dll/src/lib.rs:34
Function
GetDesktopNumberById
(desktop_id: GUID)
dll/src/lib.rs:42
Function
GetWindowDesktopId
(hwnd: HWND)
dll/src/lib.rs:49
Function
GetWindowDesktopNumber
(hwnd: HWND)
dll/src/lib.rs:56
Function
GoToDesktopNumber
(desktop_number: i32)
dll/src/lib.rs:71
Function
IsPinnedApp
(hwnd: HWND)
dll/src/lib.rs:186
Function
IsPinnedWindow
(hwnd: HWND)
dll/src/lib.rs:174
Function
IsWindowOnCurrentVirtualDesktop
(hwnd: HWND)
dll/src/lib.rs:61
Function
IsWindowOnDesktopNumber
(hwnd: HWND, desktop_number: i32)
dll/src/lib.rs:198
Function
MoveWindowToDesktopNumber
(hwnd: HWND, desktop_number: i32)
dll/src/lib.rs:66
Function
PinApp
(hwnd: HWND)
dll/src/lib.rs:190
Function
PinWindow
(hwnd: HWND)
dll/src/lib.rs:178
Function
RegisterPostMessageHook
(listener_hwnd: HWND, message_offset: u32)
dll/src/lib.rs:111
Function
RestartVirtualDesktopAccessor
()
dll/src/lib.rs:220
Function
UnPinApp
(hwnd: HWND)
dll/src/lib.rs:194
Function
UnPinWindow
(hwnd: HWND)
dll/src/lib.rs:182
Function
UnregisterPostMessageHook
(listener_hwnd: HWND)
dll/src/lib.rs:161
Method
current_virtual_desktop_changed
( &self, desktop_old: ComIn<IVirtualDesktop>, desktop_new: ComIn<IVirtualDesktop>,
src/listener.rs:195
Method
default
()
testbin/src/main.rs:16
Method
deref
(&self)
src/interfaces.rs:102
Method
drop
(&mut self)
src/listener.rs:120
next →
1–100 of 137, ranked by callers