GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Setting a colour as transparent

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
ravisg



Joined: 04 Sep 2006
Posts: 1

PostPosted: Mon Sep 04, 2006 9:38 am    Post subject: Setting a colour as transparent Reply with quote

Dear All,

I am loading an image onto a widget and showing it. The image is in .bmp format and it has 3 different colors. Now I want to make one of the colour as transparent. Can anyone please help me. I am new to GTK any help is welcome. Thanks.
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 376
Location: State College, Pennsylvania

PostPosted: Mon Sep 04, 2006 12:49 pm    Post subject: Reply with quote

You're going to want to look into http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-util.html#gdk-pixbuf-add-alpha ...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP