Re: Volume control slider

From: Date: Fri, 04 Oct 2002 21:16:41 +0000
Subject: Re: Volume control slider
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2508@lists.php.net to get a copy of this message
> Hi, Hi > > I am trying to use a VScale as a volume control in > an audio application but I can't find how to do this. > What I'm looking for is something like > > $vscale->get_value(); but it doesn't seem to be correct. > > Any ideas? Yep. VScale is an adjustment widget, so you'll need to use something like $adj = $vscale->get_adjustment(); (an inherited gtkrange method) $adj->value; (a gtkadjustment property). > Thanks in advance I'm guessing too :) nb the manual's fairly ok on GtkAdjustment. > Tony > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.gtk.general (#2508) next »