Re: Need help with window-state-event



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]