Newsgroups: comp.windows.open-look
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!rusmv1!suncvt12!erwin
From: erwin@suncvt12.verfahrenstechnik.uni-stuttgart.de (Erwin Dieterich)
Subject: Re: OLIT/icon name ???
Message-ID: <1991Mar19.101217.19033@rusmv1.rus.uni-stuttgart.de>
Sender: news@rusmv1.rus.uni-stuttgart.de (USENET News System)
Reply-To: erwin@suncvt12.verfahrenstechnik.uni-stuttgart.de (Erwin Dieterich)
Organization: Dep.Chem.Eng.(ICVT), Uni Stuttgart, FRG
References:  <fm.668979719@neptune>
Date: Tue, 19 Mar 1991 10:12:17 GMT
Lines: 42

In article <fm.668979719@neptune>, fm@neptune.iex.com (Mohammad Faroog) writes:
|> My application has its own icon. 
|> 
|> 	Pixmap icon_pixmap;
|> 
|> 	w_toplevel = OlInitialize(
|> 		NULL, 				/* app name - filled by Xt */
|> 		"Browser", 		/* app class */
|> 		NULL,				/* option list */
|> 		0,					/* # of options */
|> 		&argc, 				/* addr of main argc */
|> 		argv				/* main argv */
|> 	);
|> 
|> 	icon_pixmap = XCreateBitmapFromData(XtDisplay(w_toplevel),
|> 					RootWindowOfScreen(XtScreen(w_toplevel)),
|> 					brws_bitmap_bits,
|> 					brws_bitmap_width,brws_bitmap_height);
|> 	XtVaSetValues(w_toplevel,XtNiconPixmap,icon_pixmap,NULL);
|> 	
|> When I iconify this application olwm attaches application name at the bottom
|> of the icon. Is there anyway to tell olwm, don't attach name to the icon.
|> I just want my icon to be displayed as it is.
|> 
|> Please send me direct mail. Thanks.
|> 
|> fm@iex.com
|> 
|> Mohammad.

Please don't just reply via e-mail (or send me e-mail as well): 
I had the same difficulties when I made a program only using Xlib 
(no toolkit) and I'd like to know the solution to
this problem too.

Thanks a lot


   erwin


erwin@suncvt12.verfahrenstechnik.uni-stuttgart.de
