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 

Decorations Size

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Lino
Familiar Face


Joined: 27 Dec 2007
Posts: 19

PostPosted: Tue Mar 04, 2008 3:30 pm    Post subject: Decorations Size Reply with quote

How can I get the measure of the decorations (caption,border etc)? I havent any GtkWidget on Linux.

Thanks for answers

PS Excuse me for my English
Back to top
Lino
Familiar Face


Joined: 27 Dec 2007
Posts: 19

PostPosted: Mon Mar 10, 2008 2:29 pm    Post subject: Reply with quote

Help Micah
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 75
Location: Wilkes Barre Pa

PostPosted: Tue Mar 11, 2008 3:50 am    Post subject: Reply with quote

Do you want the size of windows decorations or widget decorations?
Back to top
Lino
Familiar Face


Joined: 27 Dec 2007
Posts: 19

PostPosted: Tue Mar 11, 2008 5:24 am    Post subject: Reply with quote

Of windows but if it's possibile for all widgets is better.
Back to top
Lino
Familiar Face


Joined: 27 Dec 2007
Posts: 19

PostPosted: Wed Mar 26, 2008 2:17 pm    Post subject: Reply with quote

Up.
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 407
Location: Portland, OR USA

PostPosted: Wed Mar 26, 2008 2:29 pm    Post subject: Reply with quote

I would think you would have to look into the theme details. Take a look at one of the theme files in your ~/.themes/ folder or check out a tutorial at art.gnome.org.

From there, you could likely use GtkRc styles to find out the various sizes of the decorations.

That's just an educated guess though. I've never attempted or contemplated it myself.
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