Re: remove maximize/minimize



On Wed, Dec 01, 2004 at 12:07:21 +0100, Antonio Coralles wrote:
> can somebody tell me how to remove the maximize and/or minimize button 
> (in the titlebar)  from a Gtk::Window ?
> thanks

Short answer: You can't.

Long answer: The buttons are none of application's business. They are
added by the window manager, which always keeps it's ast word. But the
application can suggest what makes sense and the window manager is
likely to honour that. There are some methods on Gtk::Window, through
which you can make such suggestion.

Basicaly if you set fixed geometry for the window, you should not get
the maximize button (since the window can't be resized). I am not sure
about the minimize button.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]