The image-button example did not work with `just run image-button`. The first problem was that the package name was `cosmic-image-button` and not `image-button`. It was defined as `image-button` in the justfile. The second problem was that the `wayland` feature defines the `set_window_title` as taking an `Id`. The easiest solution was to just use the `winit` feature instead. We can alternatively pass `window::Id::MAIN` if needed. |
||
|---|---|---|
| .. | ||
| applet | ||
| application | ||
| calendar | ||
| config | ||
| context-menu | ||
| cosmic | ||
| image-button | ||
| menu | ||
| multi-window | ||
| nav-context | ||
| open-dialog | ||
| text-input | ||
| README.md | ||
Examples
application
Start here as a template for creating an application with libcosmic's application API.
just run application
open-dialog
Demonstrates how to create an open file dialog
just run open-dialog