GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Aug 28, 2014 11:15 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Nested widgets
PostPosted: Mon Mar 19, 2007 10:11 pm 
Offline

Joined: Mon Mar 19, 2007 10:02 pm
Posts: 2
Hi everybody,
I need to implement something like the grid shown in this picture: http://www.threatofchaos.com/imagenes/hsl2.PNG. However, I don't know where to start: I would like to find a widget with this functionality, but I don't mind using a more complex way. My idea was if I could set a widgets as "child" of a tree item in a GtkTreeView.

Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 20, 2007 7:25 am 
Offline
Familiar Face

Joined: Tue Jan 23, 2007 6:13 pm
Posts: 34
Could you place the picture of some available place?
I can not see the address you provided.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 20, 2007 7:51 am 
Offline

Joined: Mon Mar 19, 2007 10:02 pm
Posts: 2
Here it is: http://img153.imageshack.us/my.php?image=hsl2az8.png

Thanks again for your help


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 20, 2007 10:44 am 
Offline
Familiar Face

Joined: Tue Jan 23, 2007 6:13 pm
Posts: 34
Interesting widget.... it will be pleasure to work on it.
Are you interested to work on this in a team?
I mean to work with me... I am interested to work on this if it will be open source widget.. So, if you would like to make such a widget open source I can help and share my time.
But definitely the idea with the GtkTreeView is good.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 20, 2007 1:47 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
What it looks like you are trying to do is embed a GtkTreeView widget as the child of a GtkTreeView row. While this can be done, the problem I see is that GtkTreeView requires that all columns be the same regardless of the position of the row within the model.

However, this can be done with existing widgets. I recommend you check out the GtkExpander container. It's going to require a lot of hacking, but this can be done.

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group