Re: Query WindowState



On 3/30/07, Jonathon Jongsma <jonathon jongsma gmail com> wrote:
On 3/30/07, Paul Davis <pjdavis engineering uiowa edu> wrote:
> Hey,
>
> Most of the window state functions (fullscreen(), maximize(),
> iconify(), et al.) specifically say that a window's state can be
> tracked via the single_window_state_event() on the widget.
>
> Is there not a simple way to just query the window to get the current
> state? Or am I just not seeing this method?
>
> Paul Davis
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>

how about *Gdk*::Window::get_state() ? :)
http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGdk_1_1Window.html#0e3921982caec87dedde90140e134d3f

--
jonner


Thats exactly what I was looking for.

Thanks,
Paul Davis



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