Re: Unmaximize event



I just joined this list so I'm not certain of the reply etiquette when the
context is not available, so i just included the original context here.

Dipesh,

Looking at defintion:

struct GdkEventWindowState {
GdkEventType type;
GdkWindow *window;
gint8 send_event;
GdkWindowState changed_mask;
GdkWindowState new_window_state;
};

I believe the combination of changed_mask and new_window_state will provide
what you need.

http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkEvent


Steve


---------------------------------
From: Dipesh Sudershan <d1p3shn0mad gmail com>
To: Gtk+ Devel Mailing List <gtk-app-devel-list gnome org>
Subject: Unmaximize event
Date: Tue, 22 Nov 2011 11:56:07 +0530
I know window-state-event is used to check whenever a window is
maximized. But is there a way to check whether a window has been
unmaximized. I don't want to check a window is in unmaximized state or
not. I want to check a window has been unmaximized when the
window-state-event is emitted. Any help is appreciated..



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]