Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )
- From: Thomas Jollans <t jollybox de>
- To: vala-list gnome org
- Subject: Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )
- Date: Fri, 22 Jun 2012 13:03:04 +0200
On 06/22/2012 01:47 AM, Mariano Gaudix wrote:
Hello ........How I can make the buttons are inactive , the buttons of
the window (Buttons : maximize , minimize , close ) or without focus when
the pointer is over them ? ................
You can't. It's the window manager's job to draw window decorations as
it sees fit, and inconsistencies at the whim of an application's
developer are a bad idea.
However, you can set some hints for the window manager:
You can make the window non-resizable
http://valadoc.org/#!api=gtk+-3.0/Gtk.Window.set_resizable
or even set an obscure type hint that may persuade the WM to hide the
buttons.
http://valadoc.org/#!api=gtk+-3.0/Gtk.Window.set_type_hint
See this mailing list post from 2004.
https://mail.gnome.org/archives/gtk-app-devel-list/2004-December/msg00368.html
I found this with an obvious google search for "gtk window disable
maximize". You could have tried that.
- Thomas
I need to get the effect . Caso 2 . View image
http://fotos.subefotos.com/607c3fb8e19de4ed18357b85a33b3ab5o.png
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]