On 05/25/2005 06:36:00 AM, srinivas wrote:
hi ;
thanks for reply; from on_text_entry_activate i can call the
out put handler, but from on_button_next how to call output
handler. i am not getting how to get the entry object from
interface.c to callbacks.c. in on_text_entry_activate, due to
hi ;
thanks for reply; from on_text_entry_activate i can call the out
put handler, but from on_button_next how to call output handler. i am
not getting how to get the entry object from interface.c to callbacks.c.
in on_text_entry_activate, due to activate signal handler i can
able to a
On 05/24/2005 07:24:17 AM, Peter Bloomfield wrote:
[ snip ]
Why go through the whole process of emitting a signal? Put the
output code in a handler
^^^
I meant in a helper!
___
gtk-app-devel-list mailing list
gtk-app-devel-lis
On 05/24/2005 05:12:57 AM, srinivas wrote:
[ snip ]
if (strlen(s)>0)
Better: if (s[0] != '\0')
[ snip ]
and in "on_button_next_clicked" callback i just added the one u
given.
void
on_button_next_clicked (GtkButton *button,
gpointer user_d
>g_signal_emit_by_name (entry, "activate", NULL);
Where you have defined entry ?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of srinivas
Sent: Tuesday, May 24, 2005 2:43 PM
To: Santhosh
Cc: gtk-app-devel-list@gnome.org
Subject: Re: signal
hi santhosh;
thanks for the reply, i am getting the warning like
GLib-GObject-WARNING **: invalid (NULL) pointer instance
GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed
the code i have in "on_text_entry_activate" call b
Hi,
In the "on_button_next_clicked" callback, add the following code...
void on_button_next_clicked (GtkWidget* button, gpointer data)
{
//GtkWidget* text_entry = (GtkWidget*) data; //(incase
text_entry is passed as
//user data
g_signal_emit_by_name (text_entry, "activate",
hi;
i have gtk_text_entry widget, i had an callback to the text_entry widget
"on_entry_activate" and i can able to get the text when enter pressed.
now i would like to have same functionality with next button. i
had created "on_button_next_clicked" callback.
these two are in c