valdi@rhi.hi.is (Thorvaldur Sigurdsson) (11/08/89)
I am trying to blend X Windows and Starbase, that is to say Starbase graphics in a X window. My problem is how do I get the window ID or name for reference to other X commands, e.g. XGrabPointer(...). Should I use xwcreate with gwind (system commands) or other commands in X. I think that this has been mentioned before and I am sorry to bring up an old matter, but... ------------------------------------------------------------------------ Thorvaldur Egill Sigurdsson | Internet: valdi@kerfi.hi.is Engineering Research Institute | ...mcvax!hafro!krafla!kerfi.hi.is!valdi University of ICELAND | Phone: 354-1-694699 Hjardarhagi 2-6 107 Reykjavik, ICELAND ------------------------------------------------------------------------
lang@hpfcdq.HP.COM (John J. Lang) (11/11/89)
/ hpfcdq:comp.windows.x / valdi@rhi.hi.is (Thorvaldur Sigurdsson) / 8:03 am Nov 8, 1989 / > My problem is how do I get > the window ID or name for reference to other X commands, e.g. > XGrabPointer(...). Should I use xwcreate with gwind (system commands) > or other commands in X. You should use normal Xlib calls to create the window rather than the xwcreate routine. Once you get the window created, use the "make_X11_gopen_string(3g)" Starbase routine to create a "device file name" for the window. Starbase recognizes a special format to indicate what the server name and Window ID is. The Starbase driver chapter about sox11 gives a good description of how to use this. John Lang