If you want to add buttons to you titlebar, have a look at the WindowFlags of a widget. If you want to add things to the window menu, you will have to use plattform specific code.