Re: GTK_ENTRY text retrieval
- From: Kenneth Sodemann <stuffle mac com>
- To: gtk-list gnome org
- Cc:
- Subject: Re: GTK_ENTRY text retrieval
- Date: Tue, 30 Nov 2004 06:06:59 -0600
If you build a simple interface with glade and then look at the generated code and look at it, you will find the generated code is basically saving the widget pointers as object data. I thought that was a neat idea, and adopted it in my own code. Then all I have to do is pass the main parent widget around and lookup the widgets from there as needed.
You might want to generate some code from glade and take a look...
On Tuesday, November 30, 2004, at 02:12AM, rita <rita texworld com> wrote:
>hi,
>I can use gtk_entry_get_text,but the problem is passing multilpe parameters
>to gtk_signal_connect
>regards
>Rita
>
>----- Original Message -----
>From: "Stephane Wirtel" <stephane wirtel belgacom net>
>To: "rita" <rita texworld com>
>Cc: <gtk-list gnome org>
>Sent: Tuesday, November 30, 2004 12:18 PM
>Subject: Re: GTK_ENTRY text retrieval
>
>
>> rita wrote:
>>
>> >Hello,
>> > I have a window that has several GtkEntry widgets and an
>> >'OK' button..When the "Okay" button is clicked, a callback funtion is
>> >called in which i would like to store the text entered in the entry
>widgets
>> >text file.How do I do this?
>> >Any help would be appreciated
>> >Thanks
>> >Rita
>> >
>> >_______________________________________________
>> >gtk-list mailing list
>> >gtk-list gnome org
>> >http://mail.gnome.org/mailman/listinfo/gtk-list
>> >
>> >
>> >
>> >
>> with gtk_entry_get_text (GTK_ENTRY (myEntry));
>>
>>
>
>_______________________________________________
>gtk-list mailing list
>gtk-list gnome org
>http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
--
Ken Sodemann
E-Mail: stuffle mac com
MSN Messenger: stuffle charter net
http://webpages.charter.net/stuffle
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]