Re: [Shellweb-main] image =?UTF-8?B?5pSv5oyB?=
Status: Alpha
Brought to you by:
alexe_cn
|
From: fayland <fa...@gm...> - 2005-12-31 13:00:50
|
frame 不就另一个 TextView? 为什么说不能支持?难道 TextView 不能嵌套 TextView 我总觉得这样的结构有问题。嵌套这种就变得比较麻烦了。得考虑下怎么改结构。 Anthony WU wrote: > 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 支持绝对地址和相对地址。 :-) >> >> >> ------------------------------------------------------------------------ >> > -- Fayland Lam /// http://www.fayland.org/ |