On Wed, Jul 01, 2009 at 03:40:08PM +0200, Luca Donaggio wrote:

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

'expose' is generated when a part of the window becomes visible.

For this case I think that you should use GdkScreen:size-changed
to detect orientation changes and GtkWidget:window-state-event for
fullscreen changes (see the documentation of gtk_window_fullscreen()).

is_fs = (event->new_window_state & GDK_WINDOW_STATE_FULLSCREEN);

Berto
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to