Re: [gtk-list] Scalr widget
- From: John Cupitt <john cupitt ng-london org uk>
- To: Joachim Backes <backes rhrk uni-kl de>
- CC: Gtk <gtk-list redhat com>
- Subject: Re: [gtk-list] Scalr widget
- Date: Wed, 05 Apr 2000 10:19:54 +0100
Joachim Backes wrote:
> how to retrieve the current value of a scale widget without
> looking in the widget's internal structures (which is not
> recommended)?
Hi Joachim, you need to look at the scale's adjustment:
gtk_range_get_adjustment( GTK_RANGE( myscale ) )->value
Alternatively, catch the value_changed signal from the adjustment when
you build the scale.
Hope this helps,
John
--
John Cupitt, john.cupitt@ng-london.org.uk, +44 (0)171 747 2570
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]