| menu |<=titlebar
the layout is above ,how can i put the menu in the middle of the titlebar of the gtkwindow?
| menu |<=titlebar
the layout is above ,how can i put the menu in the middle of the titlebar of the gtkwindow?
you will have to disable standard titlebar, and paint one youself.
also, it depends on the OS. when running in mswindows you can make custom titlebar which uses current style (this has nothing to do with GTK).
under X11 you can't normally "extend" titlebar drawing, because it's done by WM in another process.