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 

Rounded Corners In TreeView Rows

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Mr. Camel



Joined: 29 Apr 2008
Posts: 3

PostPosted: Tue Apr 29, 2008 9:00 am    Post subject: Rounded Corners In TreeView Rows Reply with quote

I am writing an app which displays some rows in a treeview. By default, the rows appear consecutively with no space in between them. They are rectangular with sharp corners.

I want to change the appearance of the treeview rows so that there is a small space in between each row and I also want to make each row rectangle have rounded corners.

What is the best way to accomplish this in gtkmm?
Back to top
Mr. Camel



Joined: 29 Apr 2008
Posts: 3

PostPosted: Tue Apr 29, 2008 9:02 am    Post subject: Noob Question Reply with quote

Sorry in advance for this noob question.
Back to top
Micah Carrick
Never Seen the Sunlight


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

PostPosted: Tue Apr 29, 2008 2:14 pm    Post subject: Reply with quote

That kind of stylistic change is typically a function of the Theme and Theme Engine. To learn more about theme and theme engines, check out some of the tutorials and articles on art.gnome.org

You have some control of the theme elements using the GtkStyle object and GtkRc files--both of which you can read about in the GTK manual: http://library.gnome.org/devel/gtk/unstable/gtk-Resource-Files.html
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