Skip to main content

Crate repose_platform

Crate repose_platform 

Source
Expand description

Platform runners

Modules§

a11y
Deprecated: import from repose_core::a11y directly.
render
Deprecated: import from repose_core directly. Kept for backward compatibility - will be removed in a future release.
runner_common
Shared runner helpers extracted from duplicated desktop/web/android App impls.
window_v2
Android/Web: collect_screens returns primary; apply is no-op like compose.

Structs§

AndroidOptions
Options for the Android runner.
AppConfig
Configuration for desktop run_desktop_app.
ImageHandleGuard
RAII guard that removes the image when dropped
RenderContext
ReposeOptions
Options common to all platforms.

Enums§

AppLifecycle
RenderCommand

Traits§

A11yBridge
Bridge from Repose’s semantics tree to platform accessibility APIs.

Functions§

current_lifecycle
hide_app_window
process_deeplinks
process_lifecycle
push_deeplink
Push a deeplink payload and wake the UI loop. Thin wrapper over repose_app.
run_desktop_appDeprecated
Run a desktop app with default AppConfig.
run_desktop_app_with_config
Run a desktop app with the given AppConfig.
run_pre_redraw
set_about_to_wait_callback
Register a callback invoked on every AboutToWait (used for draining tray commands).
set_app_window
Store the application window handle (called once during app setup).
set_close_to_tray
The close button hides the window (via set_visible(false)) instead of closing. The tray “Quit” action still exits the process regardless.
set_event_loop_proxy
Store the event loop proxy so tray commands / deeplinks can wake the event loop.
set_on_deeplink
set_on_lifecycle
set_pre_redraw
show_app_window
Show the application window.
tf_ensure_visible_in_rect
Helper: ensure caret visibility - now in repose_ui::textfield::tf_ensure_visible_in_rect. Ensure caret visibility for a TextFieldState inside a given rect (px). Extracted from repose-platform::tf_ensure_visible_in_rect for better layering.
wake_event_loop
Wake the winit event loop from another thread (e.g. tray’s GTK thread, JNI callback).
window_is_visible
Returns whether the application window is currently visible.