view release on metacpan or search on metacpan
lib/Gtk2/CV/ImageWindow.pm view on Meta::CPAN
($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),
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gtk2/Ex/Datasheet/DBI.pm view on Meta::CPAN
return FALSE;
}
sub update_footer {
my $self = shift;
my @model_row;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gtk2/Ex/DbLinker/AbForm.pm view on Meta::CPAN
Reflect in the user interface the changes made after the data manager has been queried, or on the form creation
=cut
sub update {
my ($self) = @_;
my $id = id $self;
my @col = $dman{ $id }->get_field_names;
$log{ $id }->debug(
"update cols are " . ( @col ? join( " ", @col ) : " cols undef " ) );
view all matches for this distribution
view release on metacpan or search on metacpan
examples/Forms/Sflang2.pm view on Meta::CPAN
$self->{sf_list}->update;
}
sub update_widgets_sensitivity {
my $self = shift;
my $rc = $self->{sform}->get_data_manager->row_count;
$self->{log}->debug("rc ", $rc);
if ( $rc == 0 ) {
$self->{dnav}->widgets_set_sensitivity(0);
view all matches for this distribution
view release on metacpan or search on metacpan
devel/run.pl view on Meta::CPAN
($vinverted?"vinv":"vnorm"),
"policy $update_policy\n";
}
# make();
sub update {
if (defined $dragger) {
make ();
}
}
{
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gtk2/Ex/FormFactory.pm view on Meta::CPAN
$self->connect_signals;
1;
}
sub update {
my $self = shift;
$self->update_all;
}
sub ok {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gtk2/Ex/Geo/Overlay.pm view on Meta::CPAN
## @method update_image($annotations, $user_param)
# @param annotations A subroutine for user annotations. Called like
# this: $annotations->($overlay, $pixmap, $gc, $user_param).
# @param user_param User parameter for the annotations.
# @brief Updates the image on the screen to show the changes in pixmap.
sub update_image {
my($self, $annotations, $user_param) = @_;
return unless $self->{pixbuf};
$self->{image}->set_from_pixbuf(undef);
$self->{pixmap} = $self->{pixbuf}->render_pixmap_and_mask(0);
my $gc = Gtk2::Gdk::GC->new($self->{pixmap});
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gtk2/Ex/ICal/Recur.pm view on Meta::CPAN
bless ($self, $class);
$self->{widget} = $self->package_all;
return $self;
}
sub update_preview {
my ($self) = @_;
my $temp = [
['Generating Preview'],
['Please wait...'],
];
view all matches for this distribution
view release on metacpan or search on metacpan
examples/progress.pl view on Meta::CPAN
exit 0;
# Helper to update all of the progress widgets in one swoop
sub update_progress {
foreach my $p (@progress) {
$p->set_fraction($fract/1000);
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gtk3/Ex/DBI/Datasheet.pm view on Meta::CPAN
return FALSE;
}
sub update_footer {
my $self = shift;
my @model_row;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gtk3/ImageView.pm view on Meta::CPAN
sub get_resolution_ratio {
my ($self) = @_;
return $self->get('resolution-ratio');
}
sub update_cursor {
my ( $self, $x, $y ) = @_;
my $pixbuf_size = $self->get_pixbuf_size;
if ( not defined $pixbuf_size ) { return }
my $win = $self->get_window;
my $cursor = $self->get_tool->cursor_at_point( $x, $y );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/GuiBuilder.pm view on Meta::CPAN
if($DBG_ON) { print("max_frame = $max_frame.\n"); }
return $max_frame;
}
#------------------------------------------------------------------------------
sub update_gui_file {
my ($title) = @_;
my $max_frames;
my %row_start_for_frame;
my %num_row_in_frame;
my $tmp_file_name = "tmp.gui";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HPC/Runner/Command/execute_job/Logger/JSON.pm view on Meta::CPAN
}
##TODO Once we add to the complete
## Get all the for the tasks
## Compute mean, min, max of all tasks
sub update_json_task {
my $self = shift;
# my @stats = ( 'vmpeak', 'vmrss', 'vmsize', 'vmhwm' );
# my $job_meta = $self->parse_meta_str;
# my $basename = $self->data_tar->basename('.tar.gz');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Bricks/Mappings.pm view on Meta::CPAN
}
#-----------------------------------------------------------------------------
# update
#-----------------------------------------------------------------------------
sub update($$$) {
my ($self, $position, $rmapping) = @_;
$position = 0 if !defined $position;
my $rary = $self->read_mappings();
splice @$rary, $position, 1, $rmapping;
view all matches for this distribution
view release on metacpan or search on metacpan
script/hcgen view on Meta::CPAN
$t =~ s/\%M/$self->month_name/ge;
$t =~ s/\%y/$self->year/gie;
return $t;
}
sub update_if_needed($$) {
my ($fname, $new) = @_;
# Do not overwrite unless modified.
if ( -s $fname && -s _ == length($new) ) {
local($/);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/FormFu/Model/DBIC.pm view on Meta::CPAN
my $dbic = $resultset->new_result( {} );
return $self->update( $dbic, { %$attrs, base => $base } );
}
sub update {
my ( $self, $dbic, $attrs ) = @_;
croak "row object missing" if !defined $dbic;
my $form = $self->form;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/FormFu/Model.pm view on Meta::CPAN
sub default_values {
croak "'default_values' method not implemented by Model class";
}
sub update {
croak "'update' method not implemented by Model class";
}
sub create {
croak "'create' method not implemented by Model class";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/FormHandler/TraitFor/Model/DBIC.pm view on Meta::CPAN
my $self = shift;
$self->item(undef);
$self->item_id(undef);
}
sub update_model {
my $self = shift;
my $item = $self->item;
my $source = $self->source;
warn "HFH: update_model for ", $self->name, "\n" if $self->verbose;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/FormHandler.pm view on Meta::CPAN
}
sub get_default_value { }
sub _can_deflate { }
sub update_fields {
my $self = shift;
if( $self->has_update_field_list ) {
my $updates = $self->update_field_list;
foreach my $field_name ( keys %{$updates} ) {
$self->update_field($field_name, $updates->{$field_name} );
view all matches for this distribution
view release on metacpan or search on metacpan
examples/edit.pl view on Meta::CPAN
deleteEntry( \@{ @$t[$i]->{subtree} }, $find );
} ## end elsif ( defined @{ @$t[$i...]})
} ## end for ( my $i = 0 ; $i < ...)
} ## end sub deleteEntry
sub updateTree {
my $t = shift;
for ( my $i = 0 ; $i < @$t ; $i++ ) {
if ( defined @$t[$i] ) {
@$t[$i]->{onmouseup} = "confirmMove()";
@$t[$i]->{id} = @$t[$i]->{id};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Object/DOM/Element/Input.pm view on Meta::CPAN
my $input = $doc->querySelector('input');
my $log = $doc->getElementById('values');
$input->addEventListener( input => \&updateValue );
sub updateValue
{
my $e = shift( @_ );
$log->textContent = $e->target->value;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Prototype.pm view on Meta::CPAN
$prototype->update_element_function( 'status',
{ binding => "You've bought a new product!" } );
=cut
sub update_element_function {
my ( $self, $element_id, $options, $code ) = @_;
$options ||= {};
my $content = $options->{content} || '';
$content = &$code if $code;
my $action = $options->{action} || $options->{update};
view all matches for this distribution
view release on metacpan or search on metacpan
Puzzle/DBTable.pm view on Meta::CPAN
debug($sql);
$self->{dbh}->do($sql,undef,@values) or
die "Unable to execute $sql with params " . join(';',@values);
}
sub update {
my $self = shift;
my $fields = shift;
my $filter = shift;
# create sql string
my $sql = qq/Update $self->{name} set /;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$examples =~ s/\r\n/\n/g;
update_file( $example_file, $examples );
};
};
sub update_file {
my( $filename, $new_content ) = @_;
my $content;
if( -f $filename ) {
open my $fh, '<', $filename
or die "Couldn't read '$filename': $!";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Shakan/Model/DBIxSkinny.pm view on Meta::CPAN
$model->insert($name => $row);
}
sub insert { shift->create(@_) }
sub update {
my ($self, $row) = @_;
my $dat = {};
my $columns = $row->get_columns;
my $params = $self->form->params();
for my $column (keys %$columns) {
view all matches for this distribution