-------- Original-Nachricht --------
Datum: Thu, 25 Sep 2008 08:03:52 +0100 Von: Jeremy Henty <onepoint@starurchin.org> An: dillo-dev@dillo.org Betreff: Re: [Dillo-dev] Icon for Dillo window
On Wed, Sep 24, 2008 at 06:48:17PM -0400, Jorge Arellano Cid wrote:
I was thinking it'd be good to provide an icon for the WM to use. Does anybody know how to do it with FLTK2?
It appears not to be possible. In X Windows you set the _NET_WM_ICON hint (as described at
http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html#id2523482
example at
http://lists.kde.org/?m=115435217715650
but there is no mention of _NET_WM_ICON anywhere in the FLTK source (in fact no use of WM hints anywhere except in Window_fullscreen.cxx and once in Window::show() to set the command string). The FLTK docs for Window::iconize() say
Currently there are only X and Win32 system-specific ways to control what is drawn in the icon. You should not rely on window managers displaying the icons.
So I think we would have to write X11-specific code. :-(
test/image.cxx has from the fltk2 tarball shows how to do it. It's X11-only though. Cheers, Johannes -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer