[maemo-developers] Disable portrait support for dialog with Hildon

From: Cornelius Hald hald at icandy.de
Date: Thu Oct 29 17:47:15 EET 2009
Hi,

the main window of my app supports portrait mode. Now I have a settings
dialog which does not support portrait mode but it inherits those flags
from the main window.

How can I remove the flags from the dialog window?

I tried the following, but it does not work:

hildon_gtk_window_set_portrait_flags (
   GTK_WINDOW (dialog), ~HILDON_PORTRAIT_MODE_SUPPORT);

How should it be done correctly?

Thanks!
Conny


More information about the maemo-developers mailing list