iced icon indicating copy to clipboard operation
iced copied to clipboard

feat: Additional actions for window controls

Open mmstick opened this issue 1 year ago • 0 comments

Adds new window actions to enable the possibility to create client-side decorations in Iced applications. libcosmic has a functioning headerbar widget which utilizes these actions and their functions. We could add a headerbar widget example for demonstrating the functionality.

  • Action::Drag
  • Action::Maximize(bool)
  • Action::Minimize(bool)
  • Action::ResizeDrag
  • Action::ToggleMaximize

ResizeDrag is currently a no-op because it requires a patch to winit. I am working on this patch at the moment.

Partially implements #759

mmstick avatar Oct 11 '22 15:10 mmstick