Re: [gtk-list] Data in callbacks and use of Glade
- From: Thomas Mailund <mailund mail1 stofanet dk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Data in callbacks and use of Glade
- Date: 08 May 2000 21:15:33 +0200
>>>>> "T" == Thames <thames@get2net.dk> writes:
T> Hi... I'm a beginner in GTK+ programming, so i have a lot of
T> questions :-) But not to tire anyone, have cut them down to one:
T> 1. I use Glade to design my interfaces. In a program I'm about to
T> design, there is two text entry's, a button an a tree. What I
T> want my program to do (this is just a sample program) is that when
T> i press the button the text from the two text entry's to be added
T> to the tree. I know how to add a signals to the button, but I
T> don't know how to add a pointer to the two text entry's and the
T> tree at the same time. I can only make a pointer to one of them,
T> not all together. How do I do that?? I have tried some
T> solutions, one was to make a structure and in that structure add
T> pointers to the two text entry's and the tree, and then pass the
T> structure in the "clicked" signal, but I couldn't make i work.
Well, that usually _is_ the right solution, so there must be something
else wrong with your code. What are the symptoms of the brokenness?
Try to post a small example of what you want to do.
T> Thanks Thames
T> (Sorry for all misspellings, but i am a dane :-)
Det er vel ikke nogen undskyldning.
/mailund
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]