Re: [gtk-list] Design Question
- From: Leonardo Zide <leonardo centroin com br>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Design Question
- Date: Wed, 29 Mar 2000 15:00:53 -0300
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.
Leonardo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]