I've seen software which added custom buttons to menu bar (like e.g. popular in Linux apps and DEs "rolldown" button - you know, the one who minimizes/unminimizes window, but leaves out title bar) and some other (but those were specific use cases, like in some Stardock apps).
Is there any way to do this in Lazarus? I'd like multiplatform solution which doesn't require me to make "custom title bar". I know I can do this, but would prefer not too, so my app would have consistent look with other apps on OS it is ran on.