I have written a calculator in Rust and libcosmic, the design is copied from gnome-calculator; I discovered 2 things:

  1. I don't like working on UIs.
  2. I have no idea how to transform

cosmic::widget::button::Builder

to

cosmic::widget::Button;

this code would be so much cleaner if I could return a button::standard() from a function.

The source code.

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 years ago

Very nice work! Consider adding your project to COSMIC Project Collection.

https://github.com/edfloreshz/cosmic-project-collection

  • source