Gtk2-CV
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Gtk2/CV/ImageWindow.pm view on Meta::CPAN
my $sw = $self->{screen_width} - ($left + $right);
my $sh = $self->{screen_height} - ($top + $bottom);
if ($self->{sw} != $sw || $self->{sh} != $sh) {
($self->{sw}, $self->{sh}) = ($sw, $sh);
($self->{rsw}, $self->{rsh}) = ($sw, $sh);
$self->auto_resize if $self->{image};
}
}
sub update_properties {
my ($self) = @_;
(undef, undef, my @data) = $_[0]->{window}->property_get (
$_[0]{frame_extents_property},
Gtk2::Gdk::Atom->intern ("CARDINAL", 0),
0, 4*4, 0);
# left, right, top, bottom
$self->{frame_extents} = \@data;
$self->check_screen_size;
lib/Gtk2/CV/Schnauzer.pm view on Meta::CPAN
$self->emit_sel_changed;
};
}
=item $schnauzer->update_thumbnails (idx[, idx...])
Update (if needed) the thumbnails on the given entries.
=cut
sub update_thumbnails {
my ($self, @idx) = @_;
Gtk2::CV::Jobber::inhibit {
for (sort { $b <=> $a } @idx) {
my $e = $self->{entry}[$_];
Gtk2::CV::Jobber::submit upd_thumb => "$e->[0]/$e->[1]";
delete $self->{sel}{$_};
}
$self->invalidate_all;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.563 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )