[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gtk_preview





On Wed, 15 Jul 1998, Hakan Ardo wrote:

> Hi,
> what does this do (snpaed from gtkBrowser::Run()):
> 
>         // For gtk_preview support...
>         gtk_widget_push_visual (gtk_preview_get_visual ());
>         gtk_widget_push_colormap (gtk_preview_get_cmap ());
> 
> Both gtk_preview_get_visual and gtk_preview_get_cmap hangs on a 8-bit
> display while they work on a 24-bit... Is gtk supposed to work with 8-bit?
> 
simple works on a display with depth=8 with gtk1.0.1 
> ---------------------------------------------------------------
>  Name:        Hakan Ardo
>  E-Mail:      hakan@debian.org
>  WWW:         http://www.ub2.lu.se/~hakan/sig.html
>  Public Key:  Try "finger hakan@master.debian.org"
>  Fingerprint: E9 81 FD 90 53 5C E9 3E  3D ED 57 15 1B 7E 29 F3
>  Interests:   WWW, Programming, 3D graphics
> 
>  Thought for the day: As long as one understands, the
>  spelling does not matter :-)
> ---------------------------------------------------------------
>