Re: [gtk-list] Design Question

Jeff Shipman wrote:
> My question is, what if I have a button that's inside
> of a box which is return back to main? Do I have a way
> of accessing that button again via the box in main? Or,
> should I declare things that I will need to modify
> at runtime as global variables?

  A common approach is to use gtk_object_set_data () and store pointers
to the widgets you need on the parent window. Take a look at any project
created by glade and you'll see that it's very easy to do, or you can
also use global variables.


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