In reference,
g_signal_connect : The handler will be called before the default handler
of the signal.
g_signal_connect_after : The handler will be called after the default
handler of the signal.
But, I don't know why is different g_signal_connect and
g_signal_connect_after.
Where is example abou
Cool Guy wrote:
>Hi, all
>
>After made radiobutton, then set handler.
>
>g_signal(radiobutton, "clicked", G_CALLBACK(AAA), NULL);
>
>static void aaa(){
>g_message("aaa");
>}
>
>But, when radiobutton clicked, output g_message("aaa"
Hi, all
After made radiobutton, then set handler.
g_signal(radiobutton, "clicked", G_CALLBACK(AAA), NULL);
static void aaa(){
g_message("aaa");
}
But, when radiobutton clicked, output g_message("aaa") is two times.
# output
aaa
aaa
What is the problem? I read tutorial but I don't know.
p.s.