Can I implement this under different desktop enviroments(KDE,GNOME) with Xlib programming? Or it's toally impossible?
As my understanding,
The button in Gnome is built using GTK but that in KDE is built using Qt, they are different widgets belong to differen Toolkit, right? But since GTK and Qt are both based on Xlib, I am wondering whether we can handle this using lowest level Programming - xlib?
Or maybe I can only program using GTK for GNOME, using Qt for KDE separately for different desktop enviroment?
2) I tried to use XMoveResizeWindow to move a X window application such as Xclock, or Xcalc, I parsed the window ID "w" got from xwininfo and display dsp = XOpenDisplay(NULL) to it like:
XMoveResizeWindow(dsp, w, 0, 0, 200, 200);
it doesn't work, but when I creat my own window application using
XCreateSimpleWindow, then it can work.
Did I miss something to deal with such existing Application window?
Thank you for help me out.
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software