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 

Nested widgets

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



Joined: 19 Mar 2007
Posts: 2

PostPosted: Mon Mar 19, 2007 10:11 pm    Post subject: Nested widgets Reply with quote

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
Back to top
hydra
Familiar Face


Joined: 23 Jan 2007
Posts: 35

PostPosted: Tue Mar 20, 2007 7:25 am    Post subject: Reply with quote

Could you place the picture of some available place?
I can not see the address you provided.
Back to top
serras



Joined: 19 Mar 2007
Posts: 2

PostPosted: Tue Mar 20, 2007 7:51 am    Post subject: Reply with quote

Here it is: http://img153.imageshack.us/my.php?image=hsl2az8.png

Thanks again for your help
Back to top
hydra
Familiar Face


Joined: 23 Jan 2007
Posts: 35

PostPosted: Tue Mar 20, 2007 10:44 am    Post subject: Reply with quote

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.
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 372
Location: State College, Pennsylvania

PostPosted: Tue Mar 20, 2007 1:47 pm    Post subject: Reply with quote

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.
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