[maemo-users] problem on gsinal

From: Zhenghe Zhang Zhenghe.Zhang at plenware.com
Date: Wed Jul 16 12:14:35 EEST 2008

As the codes show below, I add a button to my dialog, and write a
callback function response of clicking button. 

When I run my application, I find my applications do this:

1.      call the callback function,

2.      after step 1, execute the default handler of signal


but i need only the first step; In other words, I hope my app run like

 After executing button = gtk_dialog_add_button(GTK_DIALOG(dialog),
"Detail", ......), respond to my DIY signal, how can I do that

OR: when clicking the button, only call the function


I am sorry to obtrude you, but i have been graveled for long time, can
you give me some advises. 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-users/attachments/20080716/f8feb1ec/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4122 bytes
Desc: image001.gif
Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20080716/f8feb1ec/attachment.gif 
More information about the maemo-users mailing list