Re: [Shellweb-main] image =?UTF-8?B?5pSv5oyB?=
Status: Alpha
Brought to you by:
alexe_cn
|
From: Anthony WU <ant...@gm...> - 2005-12-31 10:50:36
|
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/ 語法使用說明 =) 剛才在想,frame 功能應該不能支援 =( fayland 提到: > 目前使用了 > my $img_file = ShellWeb::Fetch->new($src)->get_store; > my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file($img_file); > $buffer->insert_pixbuf($iter, $pixbuf); > 在 ShellWeb::Fetch::HTTP 里添加了保存文件。因为还不知道缓存文件放哪和 > 命 名规则,所以我暂时用了 File::Temp 的 tempfile 来保存图片到临时文件 > 中去。 > > 使用了 URI 支持绝对地址和相对地址。 :-) > > > ------------------------------------------------------------------------ > -- Best Regards, Anthony WU |