Re: How ot remove the minimize and maximize button of GtkWindow
- From: David Marceau <uticdmarceau2007 yahoo ca>
- To: gtk-app-devel-list gnome org
- Subject: Re: How ot remove the minimize and maximize button of GtkWindow
- Date: Fri, 21 Feb 2014 16:57:39 -0500
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 control that way.
The min/max functions are still available but you need to map them to a
certain region of your borderless window if you want those events caught.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]