GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Checkbox drawing with colorde background, and checkbox size

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
gdw



Joined: 05 Jun 2007
Posts: 4

PostPosted: Mon Jun 11, 2007 2:05 pm    Post subject: Checkbox drawing with colorde background, and checkbox size Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP