fm@neptune.iex.com (Mohammad Faroog) (03/15/91)
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.
erwin@suncvt12.verfahrenstechnik.uni-stuttgart.de (Erwin Dieterich) (03/19/91)
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