How to copy or duplicate gtk widgets?

Posted by PP on Stack Overflow See other posts from Stack Overflow or by PP
Published on 2010-04-15T13:51:26Z Indexed on 2010/04/15 13:53 UTC
Read the original article Hit count: 376

Filed under:
|
|

Hi,

How to copy or duplicate gtk widgets? In my application I have one huge GtkComboBox created with one long for loop which eats up so much of time and I am using this combo at two places in one single screen.

So, what I want to do is create this combo for one time and duplicate/copy it in another one so it will save my time.

If I try to add same combo box pointer two times, gtk gives me error "child->paren != NULL" cause in gtk widget can have only single parent.

So what to do?

Thanks, PP.

© Stack Overflow or respective owner

Related posts about gtk

Related posts about gtk+