[Shellweb-main] =?UTF-8?B?UmU6IFtTaGVsbHdlYi1tYWluXSBSZTogW1NoZWxsd2ViLW1haW5dIFI=?= =?UTF-8?B?ZTog
Status: Alpha
Brought to you by:
alexe_cn
這個我剛測出還存在問題
我試著改成 $button->signal_connect('released',sub
{get_url_content->($entry->get_text)}); 就解決了
ale...@gm... 提到:
>已经修复了这个问题,cvs更新了。
>
>2005/12/24, ale...@gm... <ale...@gm...>:
>
>
>>:),你找到了第一处bug.
>>确实存在这个问题,过去我也没有检测出来。
>>应该是gtk2-perl的参数传递有些问题,让我们来想想如何修复它。
>>
>>在 05-12-24,Easun Studio<eas...@21...> 写道:
>>
>>
>>>alexe.cn,您好!
>>>
>>> 依然存在那个按扭的响应。你在地址栏输入任意一个地址,然后不要用回车,而是用鼠标点"应用"看看。肯定是连到你的网站上去了哦:)
>>> 也就是我的说的,传递给 get_url_content 的 url 参数实际上是不变的。
>>>
>>>
>>>======= 2005-12-24 02:36:00 您在来信中写道:=======
>>>
>>>
>>>
>>>>我看到你刚注册,老的邮件肯定收不到了吧,新的应该没问题。
>>>>
>>>>在 05-12-24,Easun Studio<eas...@21...> 写道:
>>>>
>>>>
>>>>>alexe.cn,您好!
>>>>>
>>>>> 好吧:) 晚点我再测试。
>>>>> PS: 比较奇怪的我的Gmail已经加入了maillist,居然没有收到这些信件,反而是21cn收到了。
>>>>>
>>>>>======= 2005-12-24 02:02:00 您在来信中写道:=======
>>>>>
>>>>>
>>>>>
>>>>>>我更新了cvs,你可以再update一下试试我修复后的。
>>>>>>
>>>>>>至于按键事件与按钮事件是否要统一在一起我想程序稍微大些再定吧,因为这里面牵扯到能否很好复用的问题,毕竟这是两种不同类型的事件,里面要考虑到的问题可能不太一样。
>>>>>>
>>>>>>在 05-12-24,Easun Studio<eas...@21...> 写道:
>>>>>>
>>>>>>
>>>>>>>alexe.cn,您好!
>>>>>>>
>>>>>>> 我明白你的思路,参数是传递过去了,问题是传递过去的参数不对,你传递过去的是第一次的entry->get_text数值啊。我测试了好几次。 开始我还以为&filter_key函数有问题呢。
>>>>>>> 你再试试吧。
>>>>>>> 其实,回车和按下用一个hook就足够了:)没有区别的。
>>>>>>>
>>>>>>>======= 2005-12-24 01:35:00 您在来信中写道:=======
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>...这应该不对吧。filter_key函数我是用来过滤按键的,也就是判断键盘按下那个按钮我才触发取回url地址。
>>>>>>>>
>>>>>>>>对于$button -> signal_connect,我设定get_url_content为响应函数,并且把参数entry->get_text也都传给了get_url_content,这样就可以了。
>>>>>>>>每次点击按钮时就会去url地址栏中的数据。
>>>>>>>>
>>>>>>>>在 05-12-24,Easun Studio<eas...@21...> 写道:
>>>>>>>>
>>>>>>>>
>>>>>>>>>shellweb-main,您好!
>>>>>>>>>
>>>>>>>>> 例子里面对"应用"按钮的响应hook函数不应该为&get_url_content也应该为&filter_key。不然换了$url,点击 "应用"按钮,还会联系原来默认的$url,原因就是新的$url没有传递过去。
>>>>>>>>>即
>>>>>>>>>
>>>>>>>>>$button -> signal_connect( 'released',\&filter_key );##设定按钮按下触发的子程序
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> PS:发现我给shellweb-m...@li... 发信,总有近20min的延迟,或者迟发的反而早到。奇怪了。多发了几封,望兄弟们见晾
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>致
>>>>>>>>>礼!
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>Easun Studio
>>>>>>>>>eas...@21...
>>>>>>>>>2005-12-24
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>-------------------------------------------------------
>>>>>>>>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>>>>>>>>for problems? Stop! Download the new AJAX search engine that makes
>>>>>>>>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>>>>>>>>>http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
>>>>>>>>>[INVALID FOOTER]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>--
>>>>>>>>+--------------------------------------------+
>>>>>>>>|By Alexe (http://www.alexe.cn)|
>>>>>>>>+--------------------------------------------+
>>>>>>>>
>>>>>>>>
>>>>>>>= = = = = = = = = = = = = = = = = = = =
>>>>>>>
>>>>>>>
>>>>>>>致
>>>>>>>礼!
>>>>>>>
>>>>>>>
>>>>>>>Easun Studio
>>>>>>>eas...@21...
>>>>>>>2005-12-24
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>-------------------------------------------------------
>>>>>>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>>>>>>for problems? Stop! Download the new AJAX search engine that makes
>>>>>>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>>>>>>>http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
>>>>>>>[INVALID FOOTER]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>--
>>>>>>+--------------------------------------------+
>>>>>>|By Alexe (http://www.alexe.cn)|
>>>>>>+--------------------------------------------+
>>>>>>
>>>>>>
>>>>>= = = = = = = = = = = = = = = = = = = =
>>>>>
>>>>>
>>>>>致
>>>>>礼!
>>>>>
>>>>>
>>>>>Easun Studio
>>>>>eas...@21...
>>>>>2005-12-24
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>-------------------------------------------------------
>>>>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>>>>for problems? Stop! Download the new AJAX search engine that makes
>>>>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>>>>>http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
>>>>>[INVALID FOOTER]
>>>>>
>>>>>
>>>>>
>>>>--
>>>>+--------------------------------------------+
>>>>|By Alexe (http://www.alexe.cn)|
>>>>+--------------------------------------------+
>>>>
>>>>
>>>= = = = = = = = = = = = = = = = = = = =
>>>
>>>
>>>致
>>>礼!
>>>
>>>
>>>Easun Studio
>>>eas...@21...
>>>2005-12-24
>>>
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>>for problems? Stop! Download the new AJAX search engine that makes
>>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>>>http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
>>>[INVALID FOOTER]
>>>
>>>
>>>
>>--
>>+--------------------------------------------+
>> |By Alexe (http://www.alexe.cn)|
>>+--------------------------------------------+
>>
>>
>>
>
>
>--
>+--------------------------------------------+
> |By Alexe (http://www.alexe.cn)|
>+--------------------------------------------+
>N�HY隊X���'���u���[�������
>ަ�k��!���W�~�鮆�zk��C� 塧m����@^ǚ��^��z�Z�f�z�j�!�x2�������ɫ,���a{��,�H��4�m���i�(��ܢo�v'��jYhr'ׯ:�rX���U
>
|