Commit graph

7 commits

Author SHA1 Message Date
Jeremy Soller
dc97166f91
fix(segmented_button): diff the context menu 2024-10-14 11:21:40 -06:00
Ashley Wulber
b937a30050 fix: export menu_button 2024-05-30 19:55:16 +02:00
Michael Aaron Murphy
b3bce0740e
refactor(menu): add menu::bar as shorthand for MenuBar::new 2024-05-20 00:45:26 +02:00
Michael Aaron Murphy
9ffb87d21f feat(context_menu): add a context menu widget as menu tree alternative to the popover widget 2024-04-22 17:25:05 +02:00
Michael Aaron Murphy
59a913c15d feat!(segmented_button): Add context menu support and integrations 2024-04-18 17:18:53 +02:00
Eduardo Flores
0b47efe1de improv(menu): simplify menu construction.
- Added `MenuAction` trait to call the `message` method on button press.
- Added two new methods to construct a MenuTree.
- Added MenuItem enum to represent an action or a separator in a MenuTree.
- Added menu example.
- Moved Modifier enum and KeyBind struct to libcosmic.
- Moved menu_button macro to libcosmic.
2024-03-16 19:00:12 -06:00
Jeremy Soller
bad4400779 Add menu code, adapted from iced_aw 2023-11-16 08:06:07 -07:00