gnope php gtk gui gnope.org  

transparency

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
mr_shadow



Joined: 03 Dec 2006
Posts: 6

PostPosted: Thu Dec 21, 2006 1:02 pm    Post subject: transparency Reply with quote

Hi ,

I was thinking if there's a way to adjust the transparency of a GtkWindow, frame , etc in phpgtk ... ? !

thanks for help ,
sincerely,
Back to top
mr_shadow



Joined: 03 Dec 2006
Posts: 6

PostPosted: Sun Dec 24, 2006 2:17 pm    Post subject: Reply with quote

any opinions ? Confused
Back to top
kksou



Joined: 06 Sep 2006
Posts: 25

PostPosted: Thu Feb 15, 2007 9:54 am    Post subject: Reply with quote

You can use GtkWidget::shape_combine_mask() to achieve the effect.

Some sample codes available:

http://www.kksou.com/php-gtk2/articles/create-a-round-button---Part-2.php

http://www.kksou.com/php-gtk2/articles/have-a-Screen-Ruler---Part-4---with-both-hruler-and-vruler-displayed.php

Regards,
/kksou
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.