Re: Need help with window-state-event



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]