 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
gdw
Joined: 05 Jun 2007 Posts: 4
|
Posted: Mon Jun 11, 2007 2:05 pm Post subject: Checkbox drawing with colorde background, and checkbox size |
|
|
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 |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|