libcosmic-yoda/examples
2026-09-10 17:32:27 +02:00
..
about chore: add rustfmt config 2026-05-04 11:55:17 -04:00
applet refactor(surface): type surface actions on the message they carry 2026-09-10 17:32:27 +02:00
application refactor(surface): type surface actions on the message they carry 2026-09-10 17:32:27 +02:00
calendar chore: re-export iced row and column 2026-04-03 20:39:31 +02:00
config Revert "feat(cosmic-config): add new_data method." 2026-08-21 08:56:00 -06:00
context-menu refactor(surface): type surface actions on the message they carry 2026-09-10 17:32:27 +02:00
cosmic chore: add rustfmt config 2026-05-04 11:55:17 -04:00
image-button chore: re-export iced row and column 2026-04-03 20:39:31 +02:00
menu fix(menu example): fix key binds not being dispatched 2026-08-25 21:17:21 +02:00
multi-window fix: multi-window example headerbar 2026-08-07 20:20:54 +02:00
nav-context refactor: popups for nav bar / segmented buttons 2026-07-01 15:10:28 -04:00
open-dialog refactor(surface): type surface actions on the message they carry 2026-09-10 17:32:27 +02:00
spin-button chore: add rustfmt config 2026-05-04 11:55:17 -04:00
subscriptions chore: add rustfmt config 2026-05-04 11:55:17 -04:00
table-view chore: add rustfmt config 2026-05-04 11:55:17 -04:00
text-input chore: re-export iced row and column 2026-04-03 20:39:31 +02: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