[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Passing Values ?
- From: Harring Figueiredo <harringf yahoo com>
- To: pgmoscatt optushome com au,GTK App Dev List <gtk-app-devel-list gnome org>
- Subject: Re: Passing Values ?
- Date: Sun, 27 Apr 2003 20:53:58 -0700 (PDT)
It should be
gchar* m;
And also, make sure that entry_connect is pointing to a valid GtkEntry widget.
(From the code, it is not clear you every initialized it)
Harring.
Hope this helps.
--- Peter Moscatt <pgmoscatt@optushome.com.au> wrote:
> I am having trouble capturing the text form a GtkEntry control.
>
> The code I am using is as follows:
>
> gchar m;
> GtkWidget *entry_connect;
> m=gtk_entry_get_text(entry_connect);
>
> When run it returns a critical error.
>
> Also how do I know that 'entry_connect' is in fact the same one which
> has been declared in another header file:
>
> GtkWidget *create_commswindow (void)
> {
> GtkWidget *commswindow;
> GtkWidget *entry_connect;
> ...
> }
>
>
> Am I trying to access the right control as from what I can see is that
> 'entry_connect' is a local variable.
>
> Pete
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
=====
"We should do smart things with stupid technology before we do stupid
things with smart technology."
--Bill Buxton, Alias Research
Harring Figueiredo
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]