Re: How ot remove the minimize and maximize button of GtkWindow

2014-02-21 Thread David Marceau
option 1)Create a top level window, then set_decorated to false. You will have no decorations. option 2)There is the XWindow ChangeProperty() that you pass hints for min/max to be false. You could possibly get the XWindow handle from within the GTK api, then call the Xwindow API to get full contro

Re: How ot remove the minimize and maximize button of GtkWindow

2014-02-21 Thread Emmanuel Thomas-Maurin
On 02/21/2014 01:00 PM, Marco Scannadinari wrote: > On Fri, 2014-02-21 at 09:18 +0100, David Nečas wrote: >> On Fri, Feb 21, 2014 at 03:29:07PM +0800, Wiky wrote: >>> The default GtkWindow has a minimize , a maximize and a close button in >>> the right or left top coner. >>> But I want a window w

Re: How ot remove the minimize and maximize button of GtkWindow

2014-02-21 Thread Marco Scannadinari
On Fri, 2014-02-21 at 09:18 +0100, David Nečas wrote: > On Fri, Feb 21, 2014 at 03:29:07PM +0800, Wiky wrote: > > The default GtkWindow has a minimize , a maximize and a close button in > > the right or left top coner. > > But I want a window which only has a close button. How can I remove the >

Re: How ot remove the minimize and maximize button of GtkWindow

2014-02-21 Thread David Nečas
On Fri, Feb 21, 2014 at 03:29:07PM +0800, Wiky wrote: > The default GtkWindow has a minimize , a maximize and a close button in the > right or left top coner. > But I want a window which only has a close button. How can I remove the > minimize and maximize button? You can't. In my window manag