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 4:49 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject:
PostPosted: Wed Sep 21, 2005 3:29 pm 
Offline
Familiar Face

Joined: Wed Sep 21, 2005 4:14 am
Posts: 17
Location: Aachen, Germany
I tried your code on Linux with gtk+-2.6.7 (everything works as expected) and gtk+-2.8.3 (the shape-mask just doesn't seem to get applied). The reason for not working under gtk+-2.8.3 I don't know. But my guess is, that it maybe some "side-effect" of gtk+-2.8.3 internally using cairo for all its rendering. You may have to try a differnt approach (using cairo). A short excerpt from the gtk+-2.8.3 docs:

Quote:
Cairo is a graphics library that supports vector graphics and image compositing that can be used with GDK. Since 2.8, GTK+ does most of its drawing using Cairo.

I'm afraid I cannot give you more hints than this, as I still have to learn about cairo-utilization myself.

EDIT: You might want to look at this page with a nice sourcecode/screenshot table to get you started.

Best regards...

MacSlow

_________________
First they ignore you...
then they laugh at you...
then they fight you...
then you win!
(Gandhi)


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 5 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group