🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #742

Re: get X window ID from InterViews

#742
From: David Sternlicht
Date: Mon, 05 Oct 1992 14:27
16 lines
942 bytes
>Does anyone know how to get X window ID or the screen location of
>the window from an InterViews application?

Yes, you need to go into the representation of the InterViews 
window class.  Here is some pseudo code....

#include <InterViews/window.h>
#include <IV-X11/xwindow.h>
...
Window w = new TopLevelWindow(someGlyph);
mumble = w->rep()->xwindow_;
-- 
			
				dave sternlicht
				mit X consortium
				dave@expo.lcs.mit.edu
Technical Details
Message-ID: <1992Oct5.142754.21420@mintaka.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!olivea!mintaka.lcs.mit.edu!kanga.lcs.mit.edu!dave
References: <16073@borg.cs.unc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!olivea!mintaka.lcs.mit.edu!kanga.lcs.mit.edu!dave
From: dave@kanga.lcs.mit.edu (David Sternlicht)
Newsgroups: comp.windows.interviews
Subject: Re: get X window ID from InterViews
Keywords: X, window ID
Message-ID: <1992Oct5.142754.21420@mintaka.lcs.mit.edu>
Date: 5 Oct 92 14:27:54 GMT
References: <16073@borg.cs.unc.edu>
Sender: news@mintaka.lcs.mit.edu
Organization: MIT Laboratory for Computer Science
Lines: 16