[Mono-list] Is implemented RcStyle.BgPixmapName ?

Mariano Benedettini mbenedettini at ad-net.us
Wed Nov 23 13:59:10 EST 2005


Hi Miguel,

I'm trying to set a background pixmap this way:

Gdk.Pixbuf backgrImage = new Gdk.Pixbuf( "pink.png" );
Gdk.Pixmap backgrPixmap, backgrPixmapMask;
backgrImage.RenderPixmapAndMask( out backgrPixmap, out 
backgrPixmapMask, 0);	
window1.Style.SetBgPixmap(StateType.Normal, backgrPixmap);

But the background doesn't change :-(

What I am doing wrong ??


Miguel de Icaza wrote:
> Hello,
> 
> 
>>I'm trying to use RcStyle.BgPixmapName, but it seems that it is not 
>>implemented:
> 
> 
> That sounds about right.  You might want to use Gtk.Style instead.
> 
> 
> 



More information about the Mono-list mailing list