Widget Peek functions




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.  

Unfortunately it appears like the colormap is so protected that
it is unaccessible.  You can view the default colormap but not
the colormap you are about to create with.  Was this intentional?  
It is possible that the gtk_widget_peek_* functions can be exposed 
to the user?  (if not in the header at least as a symbol that we can
link to.)  Considering there is no way to alter it through the peek
functions, I don't understand why they are so guarded.

Thanks

--Karl 




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