Xmms::Remote
- From: AvA <a v a home nl>
- To: gtk-perl-list gnome org
- Subject: Xmms::Remote
- Date: Tue, 05 Mar 2002 19:08:44 +0100
Hi all,
I have some strange effect in Xmms:Remote / Gtk-Perl.
I want to keep track of songchanges, so an entry box gets
updated.
I did it with a Gtk->timeout_add(100 ,\&monitor);
sub monitor {
$test = $remote->get_playlist_title;
$entry->set_text("$test");
}
One would expect that this works, but it doesn't.
So I added a print"" to the subroutine:
sub monitor {
$test = $remote->get_playlist_title;
$entry->set_text("$test");
print "";
}
and all works fine.
Can someone try to explain me what is going on,
or have an idea on how to do this somewhat more
fancy (Xmms::SongChange?).
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]