libcosmic/examples
2025-06-11 16:46:31 -04:00
..
about chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +01:00
applet refactor: add optional parameter for layout offset and bounds for button handlers 2025-05-23 19:19:42 +02:00
application feat: menu bar popups 2025-06-10 18:22:07 +02:00
calendar feat: menu bar popups 2025-06-10 18:22:07 +02:00
config chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +01:00
context-menu feat: context menu popups 2025-06-11 16:46:31 -04:00
cosmic chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +01:00
image-button chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +01:00
menu feat: menu bar popups 2025-06-10 18:22:07 +02:00
multi-window feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
nav-context chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +01:00
open-dialog chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +01:00
spin-button chore: use theme::spacing() where applicable 2025-04-02 00:33:21 +02:00
table-view feat: menu bar popups 2025-06-10 18:22:07 +02:00
text-input chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +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