Any hint?<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Luca Donaggio</b> <span dir="ltr">&lt;<a href="mailto:donaggio@gmail.com">donaggio@gmail.com</a>&gt;</span><br>
Date: Tue, Jun 30, 2009 at 5:13 PM<br>Subject: HildonWindow dimensions not updated on unfullscreen in Fremantle SDK beta<br>To: Maemo developers mailing-list &lt;<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a>&gt;<br>
<br><br>Hi all,<br><br>I&#39;m attaching a callback function to the expose event of my app HildonWindow to detect size changes occurring after a screen orientation change or a fullscreen / unfullscreen button press.<br>Everything works quite well, except after coming back from fullscreen: in this case it seems that no expose events is triggered (my callback function is never called). Is it right?<br>

What is the correct way to do this? I need to detect window&#39;s size changes to rescale the image displayed inside of it.<br><br>Here&#39;s my code:<br><br>    g_signal_connect(G_OBJECT (myapp-&gt;mainwin),&quot;expose_event&quot;,<br>

            G_CALLBACK (detect_main_window_changes),myapp);<br><br><br>gboolean detect_main_window_changes (GtkWidget *widget,GdkEvent *event,app_data_t *myapp) {<br>    switch (event-&gt;type) {<br>        case GDK_EXPOSE :<br>

                scale_image(GTK_WIDGET (myapp-&gt;mainwin),myapp);<br>                return TRUE;<br>    }<br>    return FALSE;<br>}<br><br>Thanks,<br><font color="#888888"><br>Luca Donaggio<br><br>
</font></div><br>