On Fri, 20 Jan 2006 10:05:06 -0600
Daniel Davidson <[EMAIL PROTECTED]> wrote:
>Can someone also explain to me what pluse does? I think I know but I am
>not sure.
Here is a simple pulse snippet.
#!/usr/bin/perl
use warnings;
use strict;
use Gtk2;
Gtk2->init();
my $window = new Gtk2::Window;
my $p
On Jan 20, 2006, at 11:05 AM, Daniel Davidson wrote:
I am having trouble getting a progress bar to work properly. I am
preparing to write a backup program, but as of now I am just messing
around.
I can create the progress bar and I can make it so that whenever I
click
a button, it
Hi Daniel,
* Daniel Davidson <[EMAIL PROTECTED]> [2006-01-20 17:10]:
>However when I go and try to have the function automatically
>increment itself every second toward 100%, the bar does nothing
>until the function completes and it immediate jumps to 100%.
try clearing pending events every time
I am having trouble getting a progress bar to work properly. I am
preparing to write a backup program, but as of now I am just messing
around.
I can create the progress bar and I can make it so that whenever I click
a button, it increments toward 100% like it is supposed to. However
when I go
On Mon, 22 Aug 2005 05:53:47 -0400 (EDT)
>Date: Mon, 22 Aug 2005 03:48:09 +0300 (EEST)
>From: Gergely Korodi <[EMAIL PROTECTED]>
>Subject: Progress Bar question
You need to set up a timer to control the progressbar.
#!/usr/bin/perl
use warnings;
use strict;
use Glib qw/TRUE F
On Aug 21, 2005, at 8:48 PM, Gergely Korodi wrote:
I need a progress bar to display some status information inside a
callback function, but it only reacts once the function exists. In
the following code the progress bar works fine if the button's
"clicked" signal is connec
Hi,
I need a progress bar to display some status information inside a callback
function, but it only reacts once the function exists. In the following
code the progress bar works fine if the button's "clicked" signal is
connected to cb2, but it bogs down with cb1. How is
On 6/10/05, zentara <[EMAIL PROTECTED]> wrote:
> Here is a simple example.
maybe I am doing something wrong, 'cause I had the pbar, but I also
had hundreds of these messages:
Gdk-CRITICAL **: gdk_draw_line: assertion `gc != NULL' failed at
./test line 1056.
Gdk-CRITICAL **: gdk_draw_line: assert
Here is a simple example.
#!/usr/bin/perl
use warnings;
use strict;
use Gtk2;
Gtk2->init();
my $window = new Gtk2::Window;
my $pbar = new Gtk2::ProgressBar;
$pbar->set_pulse_step(.1);
# set_text not allowed in pulser
# ! $pbar->set_text('foobar');
my $vb = new Gtk2::VBox(0, 0);
my $b =
On Fri, 10 Jun 2005 16:31:33 +0200
The Saltydog <[EMAIL PROTECTED]> wrote:
> I have seen a progress bar that bounces from side to side...
> How can I implement it in my perl-gtk2 application?
you can use the pulse method on a progress bar. See the gtk2-perl pods (man
Gtk2::Progress
I have seen a progress bar that bounces from side to side...
How can I implement it in my perl-gtk2 application?
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
11 matches
Mail list logo