GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Tue Jul 29, 2014 10:53 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to make eventbox transparent
PostPosted: Mon Dec 10, 2007 5:44 am 
Offline
Familiar Face

Joined: Tue Nov 20, 2007 1:55 pm
Posts: 8
Hi all,
I have a problem related to eventbox. I am adding a transparent image to eventbox and that eventbox i am adding to main window which has a background image set. i want to make the eventbox background transparent so that we can see the main window background through the transparent image which is a child of the eventbox. Right now the default background of the eventbox is visible through the transparent image.
Please suggest me how to make a eventbox(which conatains a transparent image as a child) backgorund transparent.


thanks & regards,
Sumit Kumar.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 11, 2007 4:29 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
You probably just want to call gtk_event_box_set_visible_window() on the event box.

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 24, 2007 9:07 am 
Offline
Familiar Face

Joined: Tue Nov 20, 2007 1:55 pm
Posts: 8
its working now...
thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group