My original post:
>I'm porting my old SunView programs to Xview (Openwindows 3.0).
>My problem: I cannot change the icon image.
>I found this remark in the file /usr/openwin/share/buglist.xview:
>Bug Id: 1061631
>Synopsis: FRAME_ICON doesn't work, changing icons is poorly documented
> The obvious and advertised way to change the icon:
> xv_set(frame, FRAME_ICON, (Icon)new_icon, NULL);
> almost never works. It fails silently when the frame is mapped,
> regardless of whether it is open or iconic. I consider this
> a bug of high priority.
The solution was not to change FRAME_ICON, but ICON_IMAGE.
Example (from Glenn Satchell):
sigpoll_func(client, sig, when)
/* icon label */
icon = (Icon) xv_get(frame, FRAME_ICON);
Thanks to all who responded:
firstname.lastname@example.org (Brian Sommers)
email@example.com (Jim Redpath SRI Georgia Field Site)
Glenn.Satchell@uniq.com.au (Glenn Satchell - Uniq Professional Services)
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:13 CDT