Re: Widget Peek functions



On 29 Feb 2000, Havoc Pennington wrote:

> 
> Karl Nelson <kenelson@ece.ucdavis.edu> writes:
> > The Gtk-- crew was trying to implement a quick and dirty image
> > loader so that we can load images prior to realization for 
> > some applications.  This involved loading the pixmap with the
> > colormap from the top of the gtk+ colormap stack.  
> >
> 
> If the widget is created (but unrealized) can't you use
> gtk_widget_get_colormap()?

sure, but that only works if you know exactly what widget you're
going stuff the pixmap in. you can't create the pixmaps prior
to the widgets this way (unless you create a temporary widget just
to query the colormap <shrug>)..

> 
> Havoc
>  

---
ciaoTJ



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