Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!pasteur!cory.Berkeley.EDU!dheller From: dheller@cory.Berkeley.EDU (Dan Heller) Newsgroups: comp.windows.x Subject: Various how-do-you-do-this things Message-ID: <4748@pasteur.Berkeley.EDU> Date: 29 Jul 88 05:08:59 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: dheller@cory.Berkeley.EDU (Dan Heller) Organization: University of California, Berkeley Lines: 16 Does anyone have any idea how to create an xterm subwindow within an application that will run any type of command I want? A good example would be to have a widget which is sitting somewhere within a window with other widgets -- this widget will handle IO as if it were a tty or an xterm window. I'd rather not create a new popup shell to do this, but I'm willing to do so as a last resort ... Is there a "stencil" like function so I can XPutImage or XCopyArea an XImage or Pixmap onto a drawable and have it be stenciled thru another bitmap or XImage? The reason for this is that I have a new widget which is like a command widget, but instead of text, an icon (bitmap) is what the user sees. however, when I make this thing inactive, I want my Redisplay() function to use a new GC or some other operation which will let me render this as "grey" -- thus, a stencil. A grey border isn't good enough :-) Dan Heller