Re: Progress bar help

2006-01-20 Thread zentara
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

Re: Progress bar help

2006-01-20 Thread muppet
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

Re: Progress bar help

2006-01-20 Thread A. Pagaltzis
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

Progress bar help

2006-01-20 Thread Daniel Davidson
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

Re: Subject: Progress Bar question

2005-08-22 Thread zentara
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

Re: Progress Bar question

2005-08-22 Thread muppet
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

Progress Bar question

2005-08-21 Thread Gergely Korodi
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

Re: progress bar

2005-06-11 Thread The Saltydog
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

Re: progress bar

2005-06-10 Thread zentara
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 =

Re: progress bar

2005-06-10 Thread Stefano Esposito
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

progress bar

2005-06-10 Thread The Saltydog
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