libcosmic-yoda/examples
Lionel DARNIS 9535ada4d0 Merge upstream/master (COSMIC 1.6) into main
Aligne le fork sur epoch-1.6.0 (63 commits amont) en preservant les 19
commits yoda.

Resolutions notables :
- les cfg `all(feature = "wayland", target_os = "linux")` deviennent
  l alias `wayland_platform` introduit en amont ; il exclut winit comme
  le faisait le patch yoda 45eaaf16, l intention est donc preservee ;
- les features iced `cctk` ont ete renommees `wayland` en amont, la
  feature `wayland` locale est adaptee ; `winit` reste un marqueur vide
  et `iced/winit` est liste explicitement ;
- cctk/ashpd gardent leurs chemins locaux dans la section conditionnelle
  unix introduite en amont ;
- la garde anti-crash c0b653f5 (context_menu non assigne) est conservee
  par-dessus la nouvelle structure amont ;
- traductions ca/oc restaurees depuis amont.

Le submodule iced suit (merge + correctif du cfg cctk residuel).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 21:55:00 +02:00
..
about yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
applet yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
application yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
calendar yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
config feat(cosmic-config): add new_data method. 2026-05-14 16:19:43 +02:00
context-menu yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
cosmic yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
image-button yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
menu yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
multi-window Merge upstream/master (COSMIC 1.6) into main 2026-08-19 21:55:00 +02:00
nav-context yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
open-dialog yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
spin-button yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
subscriptions yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
table-view yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +02:00
text-input yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed) 2026-07-02 18:34:50 +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