Access to a particular widget in a container...



Hello,

i'm new on this list so i'm present myself : Alexis, 21 years old, French.
I'm using GTK for the first time and, unfortunately, i can't find a lot of
help on the web... I hope you could help me.
I'm coding a little C program.
I've a main function create_window() which create a window and add the
different containers. In the center of my window I have to add a container
which contains a label and a text box. Since i've to do it two times, i made
a function (create_center()) which returns the container to create_window().
The problem is I have to modify the text in my textbox... But
create_window() only see my container. Is there a solution (except global
widgets) to access in create_window() to my textbox (created by
create_center) ?

Thanks a lot !
--
lomba




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]