<DIV>Hi Zhong,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; I have an idea that you can post a message to the bus in your plugin and then resovle it in your app,good luck!</DIV>
<DIV>Votler</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR>
<DIV>=====================================================</DIV>
<DIV>&nbsp;</DIV>
<DIV>Happy everyday $ Best Regards!</DIV>
<DIV>&nbsp;</DIV>
<DIV>msn:volter619@163.com</DIV>
<DIV>&nbsp;</DIV>
<DIV>Focus on embeded linux software!</DIV></DIV><BR>在2007-12-10,"Diqing Zhong" &lt;diqing.zhong@gmail.com&gt; 写道:<BR>
<BLOCKQUOTE id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want to pass some info from plugin to app, </DIV>
<DIV>I have a info structure and write in the following way:</DIV>
<DIV>&nbsp;</DIV>
<DIV>In APP:</DIV>
<DIV>-----------------------------------------------------------------------------------------</DIV>
<DIV>struct my_info {</DIV>
<DIV>&nbsp;&nbsp;&nbsp; int info_1;</DIV>
<DIV>
<DIV>&nbsp;&nbsp;&nbsp; int info_2;</DIV></DIV>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>struct my_info&nbsp;info;</DIV>
<DIV>&nbsp;</DIV>
<DIV>g_object_get(G_OBJECT(plugin), "my-info", &amp;info, NULL);</DIV>
<DIV>------------------------------------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want info_1 and info_2 to be set in plugin and return to app.</DIV>
<DIV>&nbsp;</DIV>
<DIV>How should I do that? what the type of property "my-info" should be? (g_param_spec_pointer??)&nbsp;</DIV>
<DIV>And what need to do in get_property function?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in &nbsp;advance!!</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>- Max</DIV></BLOCKQUOTE><br><!-- footer --><br> 
<hr>
<a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://popme.163.com/link/003749_1210_8743.html">快乐下载,赢取大奖!</a> <font style="font-size:12px;line-height:15px;">感受全新世界,感受新的生活!</font>