Re: Need help with window-state-event
- From: Dipesh Sudershan <d1p3shn0mad gmail com>
- To: Bernhard Schuster <schuster bernhard googlemail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Need help with window-state-event
- Date: Sun, 20 Nov 2011 16:22:28 +0530
On Sun, 2011-11-20 at 10:37 +0100, Bernhard Schuster wrote:
2011/11/20 Dipesh Sudershan <d1p3shn0mad gmail com>:
GdkEventWindowState
According to this:
http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkWindowState
and http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkEventWindowState
It is as easy as:
if (event->new_window_state | GDK_WINDOW_STATE_MAXIMIZED)
/* it is maxed */
else
/* it is not*/
regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]