<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:405885029;
        mso-list-type:hybrid;
        mso-list-template-ids:1571090332 -1350549012 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:39.0pt;
        mso-level-number-position:left;
        margin-left:39.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1028" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>
<p class=MsoNormal><font size=3 face=Arial><span lang=EN-US style='font-size:
12.0pt;font-family:Arial'>Hi:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span lang=EN-US style='font-size:
12.0pt;font-family:Arial'>As the codes show below, I add a button to my dialog,
and write a callback function response of clicking button. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span lang=EN-US style='font-size:
12.0pt;font-family:Arial'>When I run my application, I find my applications do
this:<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=3 face=Arial><span lang=EN-US style='font-size:12.0pt;font-family:Arial'><span
style='mso-list:Ignore'>1.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font><![endif]><font
size=3 face=Arial><span lang=EN-US style='font-size:12.0pt;font-family:Arial'>call
the callback function,<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=3 face=Arial><span lang=EN-US style='font-size:12.0pt;font-family:Arial'><span
style='mso-list:Ignore'>2.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font><![endif]><font
size=3 face=Arial><span lang=EN-US style='font-size:12.0pt;font-family:Arial'>after
step 1, execute the default handler of signal<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span lang=EN-US style='font-size:
12.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span lang=EN-US style='font-size:
12.0pt;font-family:Arial'>but i need only the first step; In other words, I
hope my app run like this:<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt'><font size=3 face=Arial><span
lang=EN-US style='font-size:12.0pt;font-family:Arial'> After executing
button = <font color="#3366ff"><span style='color:#3366FF'>gtk_dialog_add_button</span></font>(GTK_DIALOG(dialog),
"Detail", <font color=red><span style='color:red'>……</span></font>),
respond to my DIY signal, how can I do that<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:6.0pt'><font size=3 face=Arial><span
lang=EN-US style='font-size:12.0pt;font-family:Arial'>OR: when clicking the
button, only call the function (<font color="#3366ff"><span style='color:#3366FF'>callback_file_more_button()</span></font>);<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt'><font size=3 face=Arial><span
lang=EN-US style='font-size:12.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span lang=EN-US style='font-size:
12.0pt;font-family:Arial'>I am sorry to obtrude you, but i have been graveled
for long time, can you give me some advises. <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:4.5pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-indent:5.25pt'><!--[if gte vml 1]><v:shapetype
id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
<v:stroke joinstyle="miter" />
<v:path gradientshapeok="t" o:connecttype="rect" />
</v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t202" style='position:absolute;
left:0;text-align:left;margin-left:0;margin-top:0;width:560.2pt;height:127.95pt;
text-indent:0;z-index:1;mso-wrap-style:none;mso-position-horizontal:left;
mso-position-horizontal-relative:text;mso-position-vertical:top;
mso-position-vertical-relative:line' o:allowoverlap="f" fillcolor="#ff9"
strokecolor="white">
<v:textbox style='mso-fit-shape-to-text:t'>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal style='text-indent:7.5pt'><font size=4 face=Arial><span
lang=EN-US style='font-size:15.0pt;font-family:Arial'>button =
gtk_dialog_add_button(GTK_DIALOG(dialog), "More", <font
color=red><span style='color:red'>GTK_RESPONSE_ACCEPT</span></font>);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:7.5pt'><font size=4 face=Arial><span
lang=EN-US style='font-size:15.0pt;font-family:Arial'>g_signal_connect(G_OBJECT(button),
"clicked",G_CALLBACK(callback_file_more_button),button);<o:p></o:p></span></font></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=753 height=177
src="cid:image001.gif@01C8E767.6BC88410" align=left hspace=12
alt="Text Box: button = gtk_dialog_add_button(GTK_DIALOG(dialog), "More", GTK_RESPONSE_ACCEPT); g_signal_connect(G_OBJECT(button), "clicked",G_CALLBACK(callback_file_more_button),button); "
v:shapes="_x0000_s1026"><![endif]><font size=1 face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
</body>
</html>