libcosmic/examples
2026-03-04 12:04:32 -05:00
..
about chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
applet fix: toggler width fixes & cleanup 2026-03-04 12:04:32 -05:00
application chore: update iced 2026-03-04 12:04:32 -05:00
calendar refactor(calendar): use jiff instead of chrono 2026-02-17 21:18:55 +01:00
config examples: fix libcosmic features, warnings, etc. 2025-12-05 17:59:42 +01:00
context-menu chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
cosmic chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
image-button chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
menu chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
multi-window examples: fix libcosmic features, warnings, etc. 2025-12-05 17:59:42 +01:00
nav-context chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
open-dialog fix: open-dialog example 2026-03-04 12:04:32 -05:00
spin-button examples: fix libcosmic features, warnings, etc. 2025-12-05 17:59:42 +01:00
subscriptions chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
table-view chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
text-input chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
README.md chore: document examples 2024-09-19 13:11:24 +02:00

Examples

applet

Demonstrates how to create an applet.

just run applet

application

Start here as a template for creating an application with libcosmic's application API.

just run application

calendar

Demonstrates how to use the calendar widget.

just run calendar

config

Demonstrates how to use the configuration system. There is no GUI in this example.

just run config

context-menu

Demonstrates how to use the context menu widget.

just run context-menu

image-button

Demonstrates how to use the image-button widget.

just run image-button

menu

Demonstrates how use the menu widget.

just run menu

multi-window

Demonstrates how to open multiple windows.

just run multi-window

nav-context

Demonstrates how to use the navigation bar widget.

just run nav-context

open-dialog

Demonstrates how to create an open file dialog

just run open-dialog

text-input

Demonstrates how to use the text input widgets.

just run text-input