Tips and tricks for create complex widgets

Hi, I want to create a Windows application using Iced and would like to use a custom title bar and window decorations etc. I realised that this a far more complex widget than I was expecting and I am struggling understanding what the intended way of using Iced is to make complex widgets.

My end goal is that I will have a title bar that replaces the standard windows title bar as well as doubling up as a tab line. I tried reading libcosmic’s source code to see how they managed it, but reading that didn’t really help much.

What are people’s tips for building up complex widgets?


Same question here. It’s not easy to find an easy way to create a custom title bar that I can use to create “tabs” for example.