Re: Re: Fake a signal
Fake a signal By: neocruze (5 replies) Sat, 03/01/2008 - 19:20
- Re: Fake a signal By: gtkgalaxy (03/02/2008 - 05:52)
- Re: Re: Fake a signal By: neocruze (03/02/2008 - 15:07)
- Hi friend, for By: gtkgalaxy (03/03/2008 - 17:53)
- Re: Re: Fake a signal By: neocruze (03/02/2008 - 15:08)
- Re: Re: Fake a signal By: neocruze (03/02/2008 - 15:07)
- yes you can By: gtkgalaxy (03/01/2008 - 19:45)
Recent blog posts
- Nirmitsu Technologies Launches NU2000, NU2100 and NU4000
- Gtk and Embedded Devices - part 1
- gtk extra plot...
- GtkSheet with freeze panes
- Fake a signal
- Query::Setting Color of submenu Widgets
- how to color the combo box entry
- Multiline Text Editing Widget
- Setting Color of submenu Widgets
- GtkFB (Gtk+) for the Linux Framebuffer
Re: Re: Fake a signal
On March 2nd, 2008 neocruze says:
well i am trying but no success till now..........
this is the signal that i have to fake ......
g_signal_connect (G_OBJECT (button), "clicked",G_CALLBACK (hello), NULL);
to call function name hello
i tried this ...
gtk_signal_emit_by_name(GTK_OBJECT(button),"clicked",G_CALLBACK (hello), NULL);
it compiled well but on runtime i got this.....
(no:4543): Gtk-CRITICAL **: gtk_signal_emit_by_name: assertion `GTK_IS_OBJECT (object)' failed
so what should i add in
gtk_signal_emit_by_name
.....