How do I control widgets added later with gtk in c?

Posted by Runner on Stack Overflow See other posts from Stack Overflow or by Runner
Published on 2010-05-01T19:50:23Z Indexed on 2010/05/01 19:57 UTC
Read the original article Hit count: 183

Filed under:
|
|
func1();
func2();
...

In func1 there is a button widget,and in func2 a textview widget.

I want to operate textview when I click on button widget.

But at the time I define the callback,textview is not available yet.

How can I work around this?

© Stack Overflow or respective owner

Related posts about c

    Related posts about gtk