GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Aug 22, 2014 1:44 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Rounded Corners In TreeView Rows
PostPosted: Tue Apr 29, 2008 9:00 am 
Offline

Joined: Tue Apr 29, 2008 8:50 am
Posts: 3
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?


Top
 Profile  
 
 Post subject: Noob Question
PostPosted: Tue Apr 29, 2008 9:02 am 
Offline

Joined: Tue Apr 29, 2008 8:50 am
Posts: 3
Sorry in advance for this noob question.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 29, 2008 2:14 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
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

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] 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