On Mon, 07 Feb 2000, you wrote:
> Hi,
> >Is it true what i've heard that you can make any regular graphical
> >program displayi in the root window?
> Of course you can. Programming is not a magic.
Damnit! You had to go and ruin all my preconceptions ;-)
> > If so how do you do it? And can you
> >interact with it also?
> The root window is 0. So you actually have to draw on that one. In Qt, exemple
> gratia, you can reach this the following way:
> QWidget *d = QApplication::desktop();
> From now on, anything you draw into d, will appear on the root window. And you
> can interact with it as with a normal widget. This is Qt, there is surely
> the same method in every widget-kit (just mentioned to avoid a GTK-Qt
> flame-war).
> if you need more about this, just ask.
>
> Ferenc
Thanks,. thats pretty much what I wanted to know. Also am I right in assuming
that theres no "magical" way to make a preexhisting program display in the
root window without recoding it?
-Adam-
__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************