libcosmic-yoda/examples
leyoda 255cf7cc0b rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda)
Fork point: pop-os/libcosmic 1.0.0 + perf/quickwins-bundle + macOS
window controls feature. From here the crate diverges under the yoda
lineage with its own versioning.

Changes:
- Cargo.toml: name = libcosmic-yoda, version = 0.1.0-yoda
- [lib] name = cosmic kept unchanged — consumer code still does 'use cosmic::...'
- examples/*/Cargo.toml: updated all libcosmic dep references to libcosmic-yoda
- i18n/*/libcosmic.ftl renamed to libcosmic_yoda.ftl (71 locales) to match
  the new name expected by fluent_language_loader!() macro

cargo check --lib passes. Examples not yet validated — Phase 2 (Wayland-only
cut) will rework them anyway.
2026-04-23 07:35:22 +02:00
..
about rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
applet rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
application rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
calendar rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
config examples: fix libcosmic features, warnings, etc. 2025-12-05 17:59:42 +01:00
context-menu rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
cosmic rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
image-button rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
menu rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
multi-window rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
nav-context rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
open-dialog rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
spin-button rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
subscriptions rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
table-view rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +02:00
text-input rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda) 2026-04-23 07:35:22 +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