Re: display/update a jpeg image?
- From: "Chas Owens" <chas owens gmail com>
- To: gtk-perl-list gnome org
- Subject: Re: display/update a jpeg image?
- Date: Tue, 19 Dec 2006 19:21:14 -0500
On 12/19/06, muppet <scott asofyet org> wrote:
snip
# There should be a way to figure out from perl whether this is
# necessary, but i don't feel like poking at the docs that much. :-P
if ($use_viewport) {
$scroller->add_with_viewport ($widget);
} else {
$scroller->add ($widget);
}
snip
IIRC, the reason you need a viewport is the lack of a gdk window on
some widgets. If so then
if ($widget->no_window) {
$scroller->add_with_viewport ($widget);
} else {
$scroller->add ($widget);
}
should work.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]