Help with setting backgroung Pixmap



I am trying to set the background of a widow from an image file. I seem to be able to load the file into a Pixbuf, but the set_background method requires a RefPtr to a Pixmap. 

Can someone show me an example of how I can go from a Pixbuf to a Pixmap, please? I have scoured the web to no avail.

TIA.



      


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