Crate cosmic

Source

Re-exports§

pub use action::Action;
pub use dbus_activation::DbusActivation;single-instance
pub use executor::single::Executor as SingleThreadExecutor;tokio

Modules§

action
Actions are managed internally by the cosmic runtime.
anim
appwinit
Build interactive cross-platform COSMIC applications.
appletapplet
cctkwayland and Linux
command
config
Configurations available to libcosmic applications.
core
State which is managed by the cosmic runtime.
cosmic_config
Integrations for cosmic-config — the cosmic configuration system.
cosmic_theme
Cosmic theme library.
dbus_activationsingle-instance
desktopdesktop
dialogxdg-portal or rfd
Create dialogs for retrieving user input.
executor
Select the preferred async executor for an application.
font
Select preferred fonts.
iced
iced is a cross-platform GUI library focused on simplicity and type-safety. Inspired by Elm.
icon_theme
Select the preferred icon theme.
keyboard_nav
Subscribe to common application keyboard shortcuts.
prelude
Recommended default imports.
processprocess and non-Windows
scroll
style
Stylesheet implements for crate::Theme
surface
task
Create asynchronous actions to be performed in the background.
theme
Contains the Theme type and its widget stylesheet implementations.
widget
The COSMIC widget library

Macros§

fl

Structs§

Core
COSMIC-specific application settings
Task
A set of concurrent actions to be performed by the iced runtime.
Theme

Traits§

Also
Represents a type that you can apply arbitrary functions to. Useful for when a method doesn’t return the receiver but you want to apply several of them to the object.
Applicationwinit
An interactive cross-platform COSMIC application.
ApplicationExtwinit
Methods automatically derived for all types implementing Application.
Apply
Represents a type which can have functions applied to it (implemented by default for all types).

Type Aliases§

Element
Renderer