GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Oct 01, 2014 10:21 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: changing the color of the fixed widget
PostPosted: Mon Sep 14, 2009 6:00 am 
Offline
GTK+ Geek

Joined: Thu Jul 30, 2009 1:49 pm
Posts: 86
hi,

Iam trying to change the color of the fixed widget using which is one of the child widget in note book widget using ;
gtk_widget_set_style();

But it doesnt make any difference to that .Does any body know advice would be appriciated.

Rehgards ,
harianth


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 14, 2009 6:19 am 
Offline
GTK+ Geek

Joined: Fri May 23, 2008 7:13 am
Posts: 73
GtkFixed has no window and therefore no color.

If you need coloring here, try using something with a window as parent, e.g. a GtkEventBox where setting the color with functions like gtk_widget_modify_bg() works fine.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 14, 2009 6:41 am 
Offline
GTK+ Geek

Joined: Thu Jul 30, 2009 1:49 pm
Posts: 86
hi owl102,

thanq very much for your replay ,yes i follow ur suggestion i got it.

Thanks & regards
harianth


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: Google [Bot] 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group