Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )



But isn't that how notifications are made by some notification library?

  Stefan

On Fri, Jun 22, 2012 at 01:03:04PM +0200, Thomas Jollans wrote:
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

_______________________________________________
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]