gint width = 0;
gint height = 0;
gboolean isVisible = FALSE;
 
g_object_get(window,
  "width", &width,       /* GtkWidget-property */
  "height", &height,     /* GtkWidget-property */
  "visible", &isVisible, /* GtkWidget-property */
  NULL);
