GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Dec 20, 2014 9:36 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Checkbox drawing with colorde background, and checkbox size
PostPosted: Mon Jun 11, 2007 2:05 pm 
Offline

Joined: Tue Jun 05, 2007 7:54 am
Posts: 4
Hello,

I have 2 questions:

1- I would like to retreive the size of the check boxes and radio buttons from the current style...

2- In addition, a tricky question: I am implementing an application where some treeview items are 'colored check boxes'.

I have already implemented them by drawing a rectangle, a box and eventually a check mark in the treeview cell...

But if my application is loaded with another theme, my color check boxes remain the same...

I would like to find a way to draw the check box (such as with gtk_paint_check) but without the background in order to let me a chance to draw my colored rectangle first...

It seems that if I put "menu" as the detail argument of gtk_paint_check, only the check mark is drawn... But in the Slackware 11 GTK release (2.8) this does not work (the background is gilled)...

Any suggestion???

Thank you a lot in advance

Guilhem


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