Maybe *gdk_screen_get_width ()* and *gdk_screen_get_height ()* can be used
to detect the screen dimensions?

Regards:
Bundyo

On Tue, Jan 27, 2009 at 4:21 PM, Deepak Kr. Sharma, Noida
<[email protected]>wrote:

>
> Hi,
>
> Even if it doesn't have sensors, but the screen orientation can be
> changed by the user or not, like the user has the option to view a video
> in landscape mode?
>
> Regards,
> Deepak
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Tuesday, January 27, 2009 7:36 PM
> To: Deepak Kr. Sharma, Noida
> Cc: [email protected]
> Subject: Re: Screen orientation
>
> On Tue, 27 Jan 2009, Deepak  Kr. Sharma, Noida wrote:
>
> > How do I find out from my application if the current screen
> orientation
> > is landscape or portrait?
>
> AFAIK, no Maemo device has sensors for that.
>
>
> --
> Aj.
>
>
> DISCLAIMER:
>
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of
> this message without the prior written consent of the author of this e-mail
> is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
>
> -----------------------------------------------------------------------------------------------------------------------
> _______________________________________________
> maemo-developers mailing list
> [email protected]
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to