cascle
cascle

Reputation: 21

How to add a menu to the window's titlebar

| menu |<=titlebar

the layout is above ,how can i put the menu in the middle of the titlebar of the gtkwindow?

Upvotes: 2

Views: 351

Answers (1)

Alexey Yakovenko
Alexey Yakovenko

Reputation: 494

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.

Upvotes: 2

Related Questions