[Gtk-sharp-list] Problem with ProgressBar
tapia
tapia@eitig.com
15 Dec 2002 20:46:41 +0100
Hi.
I have a problem with a ProgressBar. I can't refresh it the right way.
I change the Fraction property, and it changes right, but the
ProgressBar (the widget) gets stopped randomly.
I use this way:
- First of all, I send an event when I want to increment the
progressbar.
- Then, in another class, I do something like this:
sender.Event += new A.ReadEvent (Method);
.....
public void Method (MyObject o)
{
progressbar.Fraction = (o.Percent <= 1.0) ? o.Percent : 1.0;
}
Thank you :-)
--
tapia@eitig.com| c~~p ,---------.
cesar.garcia.tapia@hispalinux.es| ,---'oo ) \
--------------------------------|( O O )/
http://www.es.gnome.org| `=^=' /
http://mono.es.gnome.org| \ , . /
http://www.hispalinux.es| \\ |-----'| /
Debian GNU/Linux Sid| ||__| |_|__|