Need help with window-state-event
- From: Dipesh Sudershan <d1p3shn0mad gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Need help with window-state-event
- Date: Sun, 20 Nov 2011 11:02:26 +0530
How do i check a window is maximized or not?
static gboolean window_state_event_handler(GtkWidget *window,
GdkEventWindowState *event)
{
}
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(window, "window-state-event",
G_CALLBACK(window_state_event_handler), NULL);
I'm completely lost with what to code in the handler function to check
whether a window is maximized or not.
Any help is appreciated..
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]