Linux: xlib - getting handle of current window?
BlitzMax Forums/BlitzMax Programming/Linux: xlib - getting handle of current window?
| ||
I would like to get the current window's handle, but so far, the only way I can think of to do it is to hack the blitzgl C source for linux and create a function to return the xwindow variable. I've been trawling through the xlib function list ( http://tronche.com/gui/x/xlib/function-index.html ) and anything that might help me requires the window handle! Is there a way to say: Local win = GetActiveWindow() ? |
| ||
I'm not able to test but this might work:strict extern global xwindow end extern Graphics 640,480,0 print "xwindow="+xwindow |
| ||
yes, it works fine, thanks :) |