[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Screen resolution?
From: David Sweet <dsweet () Glue ! umd ! edu>
Date: 1999-07-29 18:16:25
[Download RAW message or body]
kapp->desktop() returns a widget which represent the desktop. So
kapp->desktop()->width()
kapp->desktop()->height()
should give you what you want.
Dave
On Thu, 29 Jul 1999, Carlo Robazza wrote:
> Hi there,
>
> I was wondering if there was a way of finding out, programmatically,
> what the screen dimensions are (i.e. 800x640, 1280x1024, etc.). I am
> looking for a simple function call. I know I can do it by calling
> xwininfo, sending the output to a temporary file and parsing it but it
> seems like there should be a simpler way.
>
>
> Thanks,
>
> Carlo.
> Corel.
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic