You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

kweq

Beginner

  • "kweq" started this thread

Posts: 1

Location: Poland

  • Send private message

1

Wednesday, October 19th 2005, 9:13am

KWin::setState

Hi!

I found a problem with making any window topmost. I would like to keep one window above ohters
I'm trying to use
KWin::setState( myWindow, NET::KeepAbove);

but the problem is that myWindow is XWindow id(X11+fltk), not an WId (qt+kde)
how can I get WId of my XWindow?

Andrzej Kwecka
Andrzej Kwecka

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Wednesday, October 19th 2005, 12:37pm

If your program isn't using KDE, you won't be using the KWin class.

Of course you can do the same X11 communication without KDE code using just Xlib calls, or maybe your toolkit has some wrappers as well.

The question on how to get a window id for a toolkit window is definitely a question for a toolkit specific forum or mailinglist.

Cheers,
_
Qt/KDE Developer
Debian User