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..

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to